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?
jeremywatcoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
KaarthickConnect With a Mentor Commented:
0
 
owensleftfootCommented:
"is it as easy as copying over the old passwd & shadow files?"

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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.