Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 12:17:57 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jonathan Smith <jonsmith@dragonstar.dhs.org>
Cc:        Forrest Aldrich <forrie@forrie.com>, Brian Dean <brdean@unx.sas.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: Streamlining FreeBSD Installations
Message-ID:  <20000317121757.U14789@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0003171112110.33862-100000@dragonstar.dhs.org>; from jonsmith@dragonstar.dhs.org on Fri, Mar 17, 2000 at 11:15:43AM -0500
References:  <4.3.1.2.20000317100803.00b52120@216.67.12.69> <Pine.BSF.4.21.0003171112110.33862-100000@dragonstar.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jonathan Smith <jonsmith@dragonstar.dhs.org> [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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000317121757.U14789>