From owner-freebsd-questions@FreeBSD.ORG Fri Sep 7 22:32:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5881316A41A for ; Fri, 7 Sep 2007 22:32:02 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id EEDF213C47E for ; Fri, 7 Sep 2007 22:32:01 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 7418 invoked by uid 1006); 7 Sep 2007 22:32:00 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 0.714623 secs); 07 Sep 2007 22:32:00 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.11) by -v with SMTP; 7 Sep 2007 22:32:00 -0000 Received: (qmail 6726 invoked from network); 7 Sep 2007 22:32:00 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 7 Sep 2007 22:32:00 -0000 Received: from 12.170.206.13 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 7 Sep 2007 22:32:00 -0000 (GMT) Message-ID: <2288.12.170.206.13.1189204320.squirrel@admintool.trueband.net> In-Reply-To: <2153.12.170.206.13.1189201903.squirrel@admintool.trueband.net> References: <1756.12.170.206.13.1189198324.squirrel@admintool.trueband.net> <6.0.0.22.2.20070907161149.025a9ad8@mail.computinginnovations.com> <2153.12.170.206.13.1189201903.squirrel@admintool.trueband.net> Date: Fri, 7 Sep 2007 22:32:00 -0000 (GMT) From: jhall@vandaliamo.net To: jhall@vandaliamo.net User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: jhall@vandaliamo.net, freebsd-questions@freebsd.org, Derek Ragona Subject: Re: Moving user/group databases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2007 22:32:02 -0000 >> At 03:52 PM 9/7/2007, jhall@vandaliamo.net wrote: >>>All of my FreeBSD servers boot from CD, and we are going to be having >>>several temporary employees coming and going over the next 6-12 months. >>>Is it possible to move the user/group databases from their location in >>>/etc (which is read only on my CDs) to another location? >>> >>>I have read the man page concerning pw and still do not understand what >>> I >>>should be doing. Any suggestions, or direction to a how-to would be >>>greatly appreciated. >>> >>>Thanks, >>> >>> >>>Jay >> >> The simplest way would be to put a symbolic link from /etc to a writable >> location. You will need to re-make your boot CD to have this change. >> >> -Derek >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> MailScanner thanks transtec Computers for their support. >> >> > > I have recreated the CD with the sym links, and I still run into a problem > because adduser tries to create temporary files in /etc. If I remember > correctly, the files it tries to create are /etc/passwd.XXXXXX. > > I was able to get pw to work to add the user accounts, but now I am trying > to set the password for new account, and have hit the temp file snag. > > Is this something which can be reconfigured in pw.conf? > > Thanks, > > > Jay > > > OK. After some more digging, this is what I have found that I think will work. pw -V /xxxx/yyyy/etc other information for user. vipw -d /xxxx/yyyy/etc and make the necessary password changes, etc. The only hangup I have now is how to generate the encrypted password. Any suggestions would be greatly appreciated. The passwords in my passwd file start with $1$ which, if I remember correctly, is DES encryption. Thanks, Jay