copying user account?

Susan Macchia linux-sxs at sbmgarden.com
Sat Aug 2 13:56:06 PDT 2008


Bill Campbell wrote:
> On Fri, Aug 01, 2008, vu pham wrote:
>> peter360 wrote:
>>> I have two linux hosts A and B.  I created an account for user X on A, and X
>>> has logged into A to change his password.  Now I am setting up host B.  How
>>> can I replicate the account info of user X from A to B, so that X can log
>>> into B using the same password he uses to log into A?  Thanks.
>> I would create user X on B and copy  X's password in /etc/shadow in host  
>> A to /etc/shadow in host B.
> 
> That's one way.  Another that's more general would be to create
> the appropriate openldap authentication information, export the
> user(s) $HOME directory from one machine and use nss_ldap to
> authenticate on the other machine(s).
> 
> Bill
How about NIS if they are networked?

-- 
__________________________
Susan Macchia
mailto:linux-sxs at sbmgarden.com
http://www.sbmgarden.com
__________________________



More information about the Linux-users mailing list