pw create home dir issue

Jonathan McKeown jonathan at hst.org.za
Tue Apr 22 11:06:08 UTC 2008


On Tuesday 22 April 2008 12:54, Unga wrote:
> --- Peter Boosten <peter at boosten.org> wrote:
> >
> > I use [pw] without the slash:
> >
> > adduser -d /home -q -s /usr/local/bin/rzsh
> >
> > Works like charm
>
> There is no keyword adduser to the pw(8) :)

From the manpage:

     The first one or two keywords provided to pw on the command line provide
     the context for the remainder of the arguments.  The keywords user and
     group may be combined with add, del, mod, show, or next in any order.
     (For example, showuser, usershow, show user, and user show all mean the
     same thing.)  This flexibility is useful for interactive scripts calling
     pw for user and group database manipulation. 

Please verify that what you're saying is right before posting: people rely on 
this list.

Jonathan


More information about the freebsd-questions mailing list