DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   *nix Software (http://www.daniweb.com/forums/forum111.html)
-   -   Transfer Linux passwords (http://www.daniweb.com/forums/thread642.html)

malexander Jul 9th, 2003 8:28 pm
Transfer Linux passwords
 
I know that you can transfer accounts by coping /etc/passwd to a different computer however I'm not certain about transfering the passwords themselves. Does anyone have any thoughts on how to transfer the password along with the account?

deanpence Jul 15th, 2003 11:07 pm
Re: Transfer Linux passwords
 
Quote:

Originally Posted by malexander
Does anyone have any thoughts on how to transfer the password along with the account?

Well, if you?re moving the account ver batim from one machine to another?that is, with the same user IDs and everything?then just copy the lines from /etc/shadow (assuming you?re using shadow passwords) into the other machine?s /etc/shadow.

Eico Mar 22nd, 2004 12:56 am
Re: Transfer Linux passwords
 
and if you're not using the shadow suite, then copy the lines form the /etc/passwd

alc6379 Apr 11th, 2004 6:37 pm
Re: Transfer Linux passwords
 
Whichever file your system uses, make sure that the numerical UIDs don't match any other users on the system. If they do, those two users will have access to the exact same sets of files.


All times are GMT -4. The time now is 1:14 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC