Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2008 13:10:04 GMT
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/117751: Make pw(8) support "-d" argument
Message-ID:  <200806031310.m53DA4WB051039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/117751; it has been noted by GNATS.

From: Giorgos Keramidas <keramida@freebsd.org>
To: Ivan Voras <ivoras@freebsd.org>
Cc: remko2FreeBSd.org@kobe.laptop, bug-followup@freebsd.org
Subject: Re: bin/117751: Make pw(8) support "-d" argument
Date: Tue, 03 Jun 2008 15:54:09 +0300

 > Among its possible arguments is a "-d" argument which sets the base
 > directory for the password database (e.g. makes pw operate on a jailed
 > directory tree).
 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: remko
 > State-Changed-When: Fri Nov 16 11:03:52 UTC 2007
 > State-Changed-Why:
 > As discussed in private, -d is currently being used in pw useradd for
 > example to specify what the homedirectory of the user will be, the
 > option you are talking about could not be found by my (quick) check of
 > the manual, could you please specify this?
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=117751
 
 Hi Ivan,
 
 This has been sitting in the Gnats queue for a few months.  I can't find
 the -d option for setting the base directory.  I can see that -V etcdir
 is supported for locating an alternative etc/pwd.db but not -d :/
 
 Jail password database can be tweaked from the `host' with the existing
 options I guess, i.e.:
 
     JROOT='/home/jail/ftp'
     pw -V "${JROOT}/etc" useradd -d "${JROOT}/home/ftp" [...]
 
 Did you have something else in mind?
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806031310.m53DA4WB051039>