From owner-freebsd-questions@FreeBSD.ORG Sat Feb 16 16:22:29 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 0BC3D16A419 for ; Sat, 16 Feb 2008 16:22:29 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id B6B6713C4D5 for ; Sat, 16 Feb 2008 16:22:28 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1282487pyb.10 for ; Sat, 16 Feb 2008 08:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=+vPsvZasytgDODYcczUagnpQp0lsweMxGojPznZHfU0=; b=nQe4l0P88hb4hy3iu8X6DZiivj2vv5PsZSArs12iHyJI7fYRRv1cyEO9RaUaPrrZap/VJA+dGV9WAGAuRYuIetVtGfZwMq7T7LZvglw57rxIZJsQKKqJXxGWJ7cozez0n1WlzROfrSp812MalbFHULAg9e3ojKxBj0laHmQ8WEQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=BTHmYKYiYWUhhRnT8SLfUz+kEZ3vek90oKlhAM2BTADc4XNa0knCfi8P3sS/NucbW7SCVTM41KxckvFRko6EWXA8QORcZrPeF5NO/ISsMzPeFSU/qMEvuG4YtTKrr5D4+lZyIib6eebPm21blF1r0Ck5MheCnr4D9WGpF8BbeKA= Received: by 10.140.172.19 with SMTP id u19mr2726151rve.17.1203178947464; Sat, 16 Feb 2008 08:22:27 -0800 (PST) Received: from ?192.168.1.104? ( [68.35.151.186]) by mx.google.com with ESMTPS id b2sm2235042rvf.9.2008.02.16.08.22.24 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Feb 2008 08:22:25 -0800 (PST) From: James To: Lubomir Matousek In-Reply-To: <000a01c87073$9da5fc30$d8f1f490$@net> References: <000a01c87073$9da5fc30$d8f1f490$@net> Content-Type: text/plain Date: Sat, 16 Feb 2008 09:22:15 -0700 Message-Id: <1203178935.6099.1.camel@pclmills> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: oscartheduck@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2008 16:22:29 -0000 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. James