From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 17:04:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E45416A417 for ; Sat, 16 Feb 2008 17:04:08 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8FD13C467 for ; Sat, 16 Feb 2008 17:04:08 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 4F8AAEBC3B; Sat, 16 Feb 2008 12:04:07 -0500 (EST) Date: Sat, 16 Feb 2008 12:04:06 -0500 From: Bill Moran To: oscartheduck@gmail.com Message-Id: <20080216120406.f4f80c07.wmoran@potentialtech.com> In-Reply-To: <1203178935.6099.1.camel@pclmills> References: <000a01c87073$9da5fc30$d8f1f490$@net> <1203178935.6099.1.camel@pclmills> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Lubomir Matousek , freebsd-questions@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2008 17:04:08 -0000 James wrote: > > > On Sat, 2008-02-16 at 09:11 +0100, Lubomir Matousek wrote: > > Dear list, > > > > > > > > I have the following problem when using rmuser (freebsd 6.2) > > > > > > > > ---------- > > > > rmuser -v hana > > > > Matching password entry: > > > > > > > > hana:*:1091:1092::0:0:/usr/home/hana:/usr/sbin/nologin > > > > > > > > Is this the entry you wish to remove? yes Remove user's home directory > > (/usr/home/hanka)? yes Removing crontab for (hana):. > > > > Removing at(1) jobs owned by (hana): 0 removed. > > > > Removing IPC mechanismsipcs: sysctlbyname: kern.ipc.shmmax: No such file or > > directory > > > > ipcs: sysctlbyname: kern.ipc.shmmax: No such file or directory > > > > ipcs: sysctlbyname: kern.ipc.shmmax: No such file or directory . > > > > Terminating all processes owned by (hana): -KILL signal sent to 0 processes. > > > > Removing files owned by (hana) in /tmp: 0 removed. > > > > Removing files owned by (hana) in /var/tmp: 0 removed. > > > > Removing mail spool(s) for (hana): /var/mail/hana. > > > > Removing user (hana) (including home directory) from the system: Done. > > > > ----------- > > > > > > > > The problem started, when I accidentaly deleted /usr/home directory and I > > had to create a new one. I checked /etc/password file and the direcory > > existed before using rmuser. Can anybody help please? > > > > > > > > > > > > Lubos > > > Looks like the problem is that somewhere within there it's expected that > the home directory isn't /usr/home/hana, it's /usr/home/hanka > > Have you checked /etc/master.passwd to make sure that there's no > mis-entry in there? Or just try creating /usr/home/hanka and see if it > works itself out. Personally, I'm unsure where the "problem" is. The only suspicious thing I see is the inability to remove shared memory segments, which is a bit strange but not wholly unexpected. Did you build a kernel without shared memory? -- Bill Moran http://www.potentialtech.com