Linked by Thom Holwerda on Thu 29th Oct 2009 15:39 UTC
Thread beginning with comment 391872
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
I do believe there is a "newusers" script that you can run if you have a lot of users, that will take as input a copy of the old file from /etc/passwd, so saving that file as well could save you time for a new install.
Here it is:
http://linux.die.net/man/8/newusers
What you do is ensure that /home is intact, then take a copy of the existing /etc/passwd file before you wipe / and re-install the new OS. You would then replace all of the encrypted password fields with a new clear text password. You would then run the newusers command using your modified file as input.
Your existing users would all then have their existing /home directories and be able to log in to the new OS with the new password.
It would be prudent to require that they all change their password straight away.
Edited 2009-10-30 03:24 UTC




Member since:
2007-02-17
Meh.
Most distributions, such as Ubuntu or Kubuntu, install almost everything that you would need for a standard desktop out of the box.
On Kubuntu, after a fresh install I install firefox and smbfs and a couple of extra libraries, and that is about it.
If you really want, keep a couple of files from /etc that you find yourself having to reconfigure all the time. I haven't found that to be necessary. I do have an off-system copy of some .ttf files however (saved from a ttf fonts directory several years ago), but it takes only a minute to re-add those files as system fonts.
I do find it advisable to edit /etc/adduser.conf. In that file I enable the default user groups that I want. Then adding my users back again is simply a matter of typing "sudo adduser username" and then their password for each user. I do believe there is a "newusers" script that you can run if you have a lot of users, that will take as input a copy of the old file from /etc/passwd, so saving that file as well could save you time for a new install.