Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

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?
0
jeremywatco
Asked:
jeremywatco
1 Solution
 
KaarthickCommented:
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now