From owner-freebsd-questions Tue Sep 17 14: 4:32 2002 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 1657D37B401 for ; Tue, 17 Sep 2002 14:04:31 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EF3E43E4A for ; Tue, 17 Sep 2002 14:04:30 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a025.otenet.gr [212.205.215.25]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g8HL4Q4d020501; Wed, 18 Sep 2002 00:04:27 +0300 (EEST) Received: (from keramida@localhost) by hades.hell.gr (8.11.6/8.11.6) id g8HL4Q348779; Wed, 18 Sep 2002 00:04:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 18 Sep 2002 00:04:24 +0300 From: Giorgos Keramidas To: John Bolster Cc: freebsd-questions@FreeBSD.ORG Subject: Re: rmuser Message-ID: <20020917210424.GC375@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 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 On 2002-09-17 16:50, John Bolster wrote: > I deleted a user using rmuser. It found the right user and I > answered yes to all the questions. After I was done the user's home > directory was gone and the name was gone from the system but now > there are files that belong to "1002" (which was this user's number) > that show up in repquota. I don't know how to find these files or > why they weren't deleted. Any ideas? You can use the -nouser option of find. Try running the following command (it will take a long time to finish): # find / -nouser > /tmp/filelist When it finishes the file /tmp/filelist will contain a list of the files that belong to unknown user IDs. The find(1) manual page has many more options that you might be interested in. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message