[fedora] moving users/groups

Alexander Dalloz ad+lists at uni-x.org
Sun Nov 21 18:01:52 UTC 2004


Am So, den 21.11.2004 schrieb Øyvind Lode um 12:04:

> i'm planning to reinstall my fedora server.
> i'm now running fc1 on this server and i'm gonna delete that installation
> and install fc3.

> if i bakup /etc/passwd, /etc/shadow, /etc/group, /etc/gshadow and after
> installing fc3 copies these files to the new server will i then have all the
> users (with their passwords) on the new server?

> something tells me that this won't work since i use md5 encrypted passwords
> (shadow)...
> 
> øyvind

It works perfectly. Just be aware to only get those accounts from the
backuped password/group files which are user accounts. Don't simply copy
the old files in total over the ones on the new system. The md5
encryption is no problem. As said, moving the account data with these
files does what you want.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 19:00:52 up 1 day, 13:48, load average: 0.27, 0.37, 0.32 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041121/784bccd9/attachment-0001.sig>


More information about the fedora-list mailing list