From owner-freebsd-questions Sun Nov 15 16:39:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25523 for freebsd-questions-outgoing; Sun, 15 Nov 1998 16:39:53 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA25516 for ; Sun, 15 Nov 1998 16:39:50 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.053 #3) id 0zfBNW-0003n9-00; Sun, 15 Nov 1998 23:14:46 +0000 Date: Sun, 15 Nov 1998 23:14:46 +0000 From: Ben Smithurst To: Malartre Cc: questions@FreeBSD.ORG Subject: Re: quotacheck weird messages: unknown uid: 620 Message-ID: <19981115231446.A14556@scientia.demon.co.uk> References: <364F3852.583EC129@aei.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <364F3852.583EC129@aei.ca> User-Agent: Mutt/0.94.12i (FreeBSD/3.0-CURRENT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Malartre wrote: > # quotacheck -a -v > *** Checking user quotas for /dev/rwd0s2f (/usr) > unknown uid: 620 > Why does he report a UID that do not exist? As someone said, it probably found a file owned by uid 620. (This often happens when you extract a tarball as root, the owners will be the same as those in the tarball, which may well not correspond to a real user on your system. Either that, or uid 620 used to exist but doesn't any longer, or you just chown'ed a file to uid 620.) > I don't know how to check all UID that exist on the system. $ awk -F: '{print "user "$1" has uid "$3}' < /etc/passwd or just $ less /etc/passwd To find all files owned by uid 620, $ find / -user 620 -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message