Solved

RH9 Restore User Accounts

Posted on 2004-09-17
2
232 Views
Last Modified: 2012-05-05
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
Comment
Question by:jeremywatco
2 Comments
 
LVL 4

Accepted Solution

by:
Kaarthick earned 500 total points
Comment Utility
0
 
LVL 17

Expert Comment

by:owensleftfoot
Comment Utility
"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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now