upgrade: how do you restore users?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
oakhilltop
Level 2
Level 2
Posts: 91
Joined: Wed Apr 04, 2007 7:53 am

upgrade: how do you restore users?

Post by oakhilltop »

What's the best way to restore all of the users of a system after an upgrade?

Is it best to enter all of the users during the install, then restore /etc/passwd and /etc/group, and restore their home directories?

Or, is it possible to skip entering the users during the install and just restore the above files? I think I tried this during the last upgrade and ran into problems with the login screen.

Just wondering how people handle this. Especially if you have a lot of users. I just have a few on my system at home.

This would be a nice feature for Mint to add. Save all of the user info before the upgrade, and restore it after.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
remoulder
Level 17
Level 17
Posts: 7621
Joined: Fri May 09, 2008 1:14 pm

Re: upgrade: how do you restore users?

Post by remoulder »

You will have all kinds of problems using the method you outline. Recreate the users after the install and restore data folders only, not the entire home folders.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
oakhilltop
Level 2
Level 2
Posts: 91
Joined: Wed Apr 04, 2007 7:53 am

Re: upgrade: how do you restore users?

Post by oakhilltop »

remoulder wrote:You will have all kinds of problems using the method you outline. Recreate the users after the install and restore data folders only, not the entire home folders.
I would not be a happy camper if I came into work one day and my gnome settings were gone. I swap ctrl and caps lock, add icons to the taskbar, configure emacs keys for firefox etc. It's not a problem for me on my home system, but I don't think just restoring data files in a workplace is a good idea. Especially every 6 months.

I upgraded my laptop last night, and didn't reformat my /home. For my login, it went pretty smooth. I didn't have the main menu on the taskbar, nor the network manager applet. I've had this annoying problem with the main menu not going away when I choose an item. I had that problem with mint 8 also. I had installed the 64 bit mint 8 on an old 64 bit processor and it was very slow. I thought that might be the issue with the main menu, but this time I installed the 32 bit version and it's still there. I'll move my gnome directories and let them get rebuilt. Other users on this machine don't have the sticky menu.
Locked

Return to “Installation & Boot”