jeremywatco
asked on
RH9 Restore User Accounts
A server of ours recently crashed that was running RH9. I have backups of everything and was wondering how to restore user account & passwords.. is it as easy as copying over the old passwd & shadow files? Or is there another way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes & no. While this will restore your user accounts, it wont create your users home directories. I would run "useradd user" for every account (you could always write a script to do this) and then copy the password & shadow (& group) files accross.