[lug] Adding user to two machines at once?

Justin glow at jackmoves.com
Thu Aug 23 09:00:19 MDT 2001


NIS is not an option. Maybe LDAP but I've never used it. Would it be 
difficult to migrate my current userbase into an LDAP database? Know of 
any docs that could help with this? I'll check into it in the meantime.

Justin

> 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
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> 

-----
glow at jackmoves.com
www.jackmoves.com



More information about the LUG mailing list