From owner-freebsd-security Wed May 2 7:16:21 2001 Delivered-To: freebsd-security@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 9398137B423 for ; Wed, 2 May 2001 07:16:19 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 430285411; Wed, 2 May 2001 16:16:16 +0200 (CEST) Date: Wed, 2 May 2001 16:16:16 +0200 From: Anton Berezin To: Lee Smallbone Cc: freebsd-security@freebsd.org Subject: Re: useradd/adduser Message-ID: <20010502161616.F70104@heechee.tobez.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <200105021525.QAA25034@mailgate.kechara.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105021525.QAA25034@mailgate.kechara.net>; from lee@kechara.net on Wed, May 02, 2001 at 03:12:01PM +0100 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [In the future, please direct such questions to freebsd-questions mailing list. Thank you. Followups set.] On Wed, May 02, 2001 at 03:12:01PM +0100, Lee Smallbone wrote: > To my surprise, useradd isn't shipped with 4.3-STABLE (at least, not that I can see.) > Is there any way to use adduser in a non-interative state (run from scripts)? > > i.e. $ adduser -d /home2/testuser -u testuser -p password > (pardon any syntax errors, that is for example only.) pw is much better suited for non-interactive account manipulation. man 8 pw -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message