> Anybody know a safety method to copy all the users list (about 120 users)
> from a box running RH6.1 to another box running RH 7.3?
> Could I copy only /etc/passwd and /etc/group?
> And where are stored the passwords (shaded) ?
Make copies of the old /etc/passwd, ./group, ./shadow files. Remove all
users and groups that are duplicated on the new machine. Append the
edited lists to the current passwd, group and shadow files. If the home
directories need migrating, make sure to save them in a way that ensures
permissions and ownership gets preserved.
Quote:> This because the RH6.1 box (FTP server only) is faulty, and I'm installing a
> new one with RH 7.3, but I don't really like re-insert 120user manually! ;-)
BTW, modern FTP packages don't require that system users exist for
ftp-only users. The method you're using now can be insecure in many
circumstances, most notably in that their ftp passwords often allow
shell access. Pardon me if you were already aware of this.