From owner-freebsd-stable Sun Dec 23 15:33:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from woody.ichilton.co.uk (woody.ichilton.co.uk [216.28.122.60]) by hub.freebsd.org (Postfix) with ESMTP id 0F67B37B416 for ; Sun, 23 Dec 2001 15:33:34 -0800 (PST) Received: by woody.ichilton.co.uk (Postfix, from userid 1000) id A15F47CF5; Sun, 23 Dec 2001 23:33:27 +0000 (GMT) Date: Sun, 23 Dec 2001 23:33:27 +0000 From: Ian Chilton To: freebsd-stable@freebsd.org Subject: OT: Setting password from command line Message-ID: <20011223233327.B13474@woody.ichilton.co.uk> Reply-To: Ian Chilton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.13i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Sorry for another off-topic post. I am creating a user on the command line with: pw useradd myusername -g mygroup -s /sbin/nologin -c description I now need a way of setting the password on this account, but it must be none-interactive as I want to call it from a Perl script. Any ideas? Thanks Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message