From owner-freebsd-questions Mon Jan 21 17:48:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 04F5F37B400 for ; Mon, 21 Jan 2002 17:48:41 -0800 (PST) Received: from gateway ([63.70.155.45]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Mon, 21 Jan 2002 20:51:51 -0500 From: "Joe & Fhe Barbish" To: "Joe Clarke" Cc: "FBSD Questions" Subject: RE: pw useradd -D command Date: Mon, 21 Jan 2002 20:48:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1011661726.85870.10.camel@shumai.marcuscom.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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