* Jonathan Smith <[EMAIL PROTECTED]> [000317 08:48] wrote:
>
>
>
> On Fri, 17 Mar 2000, Forrest Aldrich wrote:
>
> > Another issue here, at least in our application of it, is about adding
> > users and setting passwords. With well over 100 machines, we want to
> > also have installed user accounts for our engineers. Again, nightmareish
> > to consider doing manually.
> >
> > Such a script used at startup could contain also the account name and
> > perhaps the "crypted" form of the password, and some other utility would
> > need to do the magic from there.
> >
>
> Either put on the disk or fetch a copy of the master.passwd, copy it
> someplace like /root/master.passwd that's on the root partition and do a
> passwd_mkdb.
>
> I would suggest, however, setting up ssh on the first pass and maybe a
> password on one trusted account that you could install the system(s), go
> back to you Favorite Terminal(tm), sit down and use a for loop (or other
> automated method ;) to send (ie. via ssh/scp ;) the master.passwd file to
> a secure place on the root partition then have ssh execute the remote
> command 'passwd_mkdb' on the previously sent file and there you have it.
You may also want to investigate the package system, i'm pretty sure
you can specify that it run particular scripts such as something
running 'pw' to add accounts and whatnot.
good luck,
-Alfred
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message