Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 20:48:37 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "Joe Clarke" <marcus@marcuscom.com>
Cc:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   RE: pw useradd -D command
Message-ID:  <LPBBIGIAAKKEOEJOLEGOKEFECNAA.barbish@a1poweruser.com>
In-Reply-To: <1011661726.85870.10.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have other user id's added with adduser that are
in /usr/home/userid. When using pw it makes the entry
in the passwd file ok with /home/userid but does not
create /user/home/userid. I looked for it.

This is easy to test for your self.
Pw -D  then pw adduser tom  then pw showuser tom
them cd /usr/home/ them ls and look for tom.
You may want to edit /etc/pw.conf

Give it a try and let me know.
Thanks
Joe

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Joe Clarke
Sent: Monday, January 21, 2002 8:09 PM
To: Joe & Fhe Barbish
Cc: FBSD Questions
Subject: Re: pw useradd -D command

On Mon, 2002-01-21 at 17:58, Joe & Fhe Barbish wrote:
> This sets up a default /etc/pw.conf file where the
> defaults can be edited. Man page says pw will create
> hone directory /usr/home/userid and copy over .files
> from /usr/share/skel. When I enter   pw useradd tom
> followed by  pw usershow tom  it shows tom's home as
>  /home/tom  which is what I expected. But when I check
> out /usr/home/ there is no tom directory. When I login
> as tom I get message saying logged in at ./  which is wrong.
> Am I doing some thing wrong, or is this really a bug in
> pw that needs to be reported?

Are you sure /home exists as a symlink to /usr/home?  Perhaps, it's
setting tom's home to /home/tom when /home doesn't really exist.

Joe

>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


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?LPBBIGIAAKKEOEJOLEGOKEFECNAA.barbish>