/usr/src/usr.sbin/pw/pw_user.c line 736 of the file on my system:
$FreeBSD: src/usr.sbin/pw/pw_user.c,v 1.34 2000/01/15 00:20:21 davidn Exp
The line in question:
if (!PWALTDIR() && getarg(args, 'm') != NULL && pwd->pw_dir && *pwd->pw_dir == '/' &&
pwd->pw_dir[1]) {
The conditional !PWALTDIR() looks like the culprit. It may also be there
for some reason...
This is under 4.0-CURRENT but I'd guess you'll fine the same code somewhere
in your file.
-Steve
On Tue, Jan 18, 2000 at 02:19:40PM -0800, Jaye Mathisen wrote:
>
> Running a relatively recent 3.4-STABLE:
>
> If you use the -V option to specify an alternate master.passwd/conf file
> location, then the -m option apparently doesn't work.
>
> I get users added to my alt pw file, but no home dir creation.
>
> Removing the -V /altdir option adds them to /etc/master.passwd, and
> creates the home dir.
>
> If anybody spots in the code where this is taking place, I would love
> to see a fix... It's probably so obvious I am skipping over it.
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message