copying user account?
Bill Campbell
linux-sxs at celestial.com
Fri Aug 1 17:08:25 PDT 2008
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
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
The children who know how to think for themselves spoil the harmony of
the collective society that is coming, where everyone would be
interdependent. 1899 John Dewey, educational philosopher, proponent of
modern public schools.
More information about the Linux-users
mailing list