From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 14:38:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B858E16A4CE for ; Thu, 25 Nov 2004 14:38:02 +0000 (GMT) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73D6243D4C for ; Thu, 25 Nov 2004 14:38:02 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip102-211.introweb.nl ([80.65.102.211] helo=sjees) by yggdrasil with esmtp (Exim 3.35 #1 (Debian)) id 1CXKkQ-0002q6-00 for ; Thu, 25 Nov 2004 15:37:26 +0100 From: "Olaf Greve" To: Date: Thu, 25 Nov 2004 15:37:24 +0100 Message-ID: <005801c4d2fc$479e3a40$1e01a8c0@sjees> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <200411251410.45026.list-freebsd-2004@morbius.sent.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2742.200 Importance: Normal X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: Subject: Problem with creating home directories when creating users using pw under 5.2.1 Release i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 14:38:02 -0000 Hi guys, I'm new to this list, so I hope I'm not flogging a dead horse here, but after an upgrade from 5.1 Release to 5.2.1 Release (i386) I encountered a weird thing: when being root, and creating users using the pw command as follows: pw useradd testusr -g testgrp -s /bin/sh No home directory gets created (whereas a home directory was properly created when doing this under 5.1 Release). Then, when I try to fix this afterwards by doing: pw usermod testusr -d /usr/home/testusr I get the message: pw: WARNING: home `/usr/home/testusr' does not exist This, in itself, is already weird, of course. Manually creating the directory /usr/home/testusr and then trying the pw command doesn't work either (neither when the directory is owned by root, nor when it's owned by testusr:testgrp) ?!? More bizarrely so, when adding a user using sysinstall, it all works fine. Go figure...?!? Does anyone have any ideas? Cheers! Olafo