Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to copy users list & Passwords - RedHat 6.2 1

Status
Not open for further replies.

ramani

Programmer
Mar 15, 2001
4,336
AE
Hi
I have a redhat 6.2 installed as fileserver with a SAMBA workgroup. There are several members with passwords.

Now I am upgrading the computer and want to reinstall the Linus OS (RedHat 6.2) again. (Since I doubt the harddisk may have some problem). I know to copy the user files(Data files).

The question is...
How can I copy the passwords and users list from the previous setup to the new saetup. What files I need to copy and Can I do that from the existing user unit.

Help will be appreciated. Thanks in advance to those who help me.

Ramani ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
depending on how your machines runs you'll need

/etc/passwd*

and

/etc/shadow* if it exists.

copying them straight across is good enough.

the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need



/etc/passwd*



and



/etc/shadow* if it exists.



copying them straight across is good enough.



the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need





/etc/passwd*





and





/etc/shadow* if it exists.





copying them straight across is good enough.





the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need







/etc/passwd*







and







/etc/shadow* if it exists.







copying them straight across is good enough.







the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need









/etc/passwd*









and









/etc/shadow* if it exists.









copying them straight across is good enough.









the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need











/etc/passwd*











and











/etc/shadow* if it exists.











copying them straight across is good enough.











the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need













/etc/passwd*













and













/etc/shadow* if it exists.













copying them straight across is good enough.













the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need















/etc/passwd*















and















/etc/shadow* if it exists.















copying them straight across is good enough.















the format of the files is explained in "man 5 passwd" and "man 5 shadow".
 
depending on how your machines runs you'll need

















/etc/passwd*

















and

















/etc/shadow* if it exists.

















copying them straight across is good enough.

















the format of the files is explained in man 5 passwd and man 5 shadow.
 
Dear friend,
If you have lot of users on your system you might
have to tar the home directory.This means to compress it so that it can be fit into a floppy atleast.
1.To tar it first shift to the home directory and type
tar -cvf filename.tar *
2.Then type
gzip -9 filename.tar
3.Now if you do a ls you should see the file name as
filename.tar.gz
4.Copy it to the floppy or whichever place you want
also copy the /etc/passwd and the /etc/shadow and also
the /etc/group file.
5.Now to untar the zipped file type
gunzip -d filename.tar.gz
6.Then to untar it type
tar -xvf filename.tar
Then you are ready to go!!!!!!!!

Krischrist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top