Date: Thu, 1 Jun 2000 12:09:08 -0400 From: Eric Ogren <eogren@earthlink.net> To: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> Cc: freebsd-questions@FreeBSD.org Subject: Re: Adding user / length of usernames... Message-ID: <20000601120908.A4824@earthlink.net> In-Reply-To: <39368683.C58B3C0E@brwn.org>; from willem@brwn.org on Thu, Jun 01, 2000 at 05:51:31PM %2B0200 References: <12821979544.20000601172243@buz.ch> <39368683.C58B3C0E@brwn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gabriel Ambuehl wrote: > > Hello, > I've got some questions regarding adding users. If I try to start > adduser, it shows up an interactive interface for adding users. This > is nice for people who need it rarely or need to have different > configs all the time. I, OTOH, need to have it scripted as we > have to create almost identical accounts over and over (we use them as > login for the FTPd as well as for quota reasons) again. man adduser > shows switches but if I try to use > # adduser -shell no -home /home/web/a/test2_com/web/ test2_com > I end up with the interactive interface as well. What am I doing > wrong? (Linux' useradd did this without any problems but that one > hasn't got any interactive modes, AFAIK). > You should use pw instead of adduser. Running pw useradd test2_com -d /home/web/a/test2_com/web/ -s /nonexistent should work, and is noninteractive. > > And the second question: [question cut] Can't help you with this one, though. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000601120908.A4824>