[lug] Adding user to two machines at once?
dan radom
dradom at redback.com
Wed Aug 22 18:14:01 MDT 2001
are either NIS or LDAP an option? if not expect can do all the real work. it even ships with an example passwd / adduser script.
* Justin (glow at jackmoves.com) wrote:
> I have a couple of servers that I have users on. One server contains
> every user while the other server contains only a select few of those
> users. Currently what I have been doing is when I get a new user, I add
> them to the primary server, then if necessary I add them again to the
> secondary server. What are some ways to make this procedure a little
> simpler? What I was thinking was writing a script that I can run on the
> primary server which adds the user, then prompts me if I want to add
> the same user to the secondary box. The script of course would need to
> somehow log into the secondary box and add the user there. That is what
> I don't know how to do. Does anyone have any suggestions on how to
> accomplish this? Or an alternative that might be better for my
> situation?
>
> BTW, the uid's or gid's do not need to be the same between the
> machines, simply the username and preferably the initial temp passwd.
>
> TIA,
> Justin
> -----
> glow at jackmoves.com
> www.jackmoves.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list