From owner-freebsd-questions Wed Sep 18 12:45:40 2002 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 7234A37B434 for ; Wed, 18 Sep 2002 12:45:39 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1142C43E72 for ; Wed, 18 Sep 2002 12:44:08 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a027.otenet.gr [212.205.215.27]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g8IJhLU8007858; Wed, 18 Sep 2002 22:43:22 +0300 (EEST) Received: (from keramida@localhost) by hades.hell.gr (8.11.6/8.11.6) id g8IJhNb87763; Wed, 18 Sep 2002 22:43:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 18 Sep 2002 22:43:21 +0300 From: Giorgos Keramidas To: Nathan Kinkade Cc: freebsd-questions@FreeBSD.ORG Subject: Re: what is the freebsd version for "useradd -M"? Message-ID: <20020918194321.GF47378@hades.hell.gr> References: <20020917232551.10809.qmail@web20104.mail.yahoo.com> <20020918090513.GA20911@hades.hell.gr> <20020918080119.1fecc8e4.nkinkade@dsl-only.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020918080119.1fecc8e4.nkinkade@dsl-only.net> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 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 On 2002-09-18 08:01, Nathan Kinkade wrote: > On Wed, 18 Sep 2002 12:05:14 +0300 > Giorgos Keramidas wrote: > > There is no useradd command in FreeBSD. You probably want to use > > pw(8) for adding users, but then it's probably the -m option that you > > are supposed to use (to create the user's HOME directory too). > > What are the drawbacks of using the `adduser -s` command? Above, you > say, "There is no useradd command in FreeBSD." Yet you don't mention > the similar, but transposed, `adduser` command. I've always used the > `adduser -s` command. Should I not be using this utility? I like commands that can be scripted, without requiring any user intervention from the terminal. So far, I've used pw(8) with great results, but this is clearly a matter of preference. -- Giorgos Keramidas % keramida@{ceid.upatras.gr,freebsd.org} FreeBSD 4.5-RELEASE-p20 #14: Tue Sep 17 15:23:24 EEST 2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message