From owner-freebsd-questions Mon Feb 24 6:25:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDD4937B401 for ; Mon, 24 Feb 2003 06:25:50 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D626843FDD for ; Mon, 24 Feb 2003 06:25:49 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1OEPmrX009516; Mon, 24 Feb 2003 09:25:48 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E5A2B6C.10005@potentialtech.com> Date: Mon, 24 Feb 2003 09:25:48 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: default013 Cc: FreeBSD-Questions Subject: Re: add user with shell account References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG default013 wrote: > Hello, > > I'm working on a script that will automate making shell accounts and I guess > I'm a bit stumped on how one enters the encrypted password into the deal. > > If anyone knows any resources where I might find this kind of info or has > some suggestions for me it would be very much appreciated. You don't say much about your script, but I've been able to make user management scripts with no problems (using just sh). Are you using the pw command for interacting with the password database? See the man page for pw if not. That may solve your whole problem. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message