Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 23:14:46 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Malartre <malartre@aei.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: quotacheck weird messages: unknown uid: 620
Message-ID:  <19981115231446.A14556@scientia.demon.co.uk>
In-Reply-To: <364F3852.583EC129@aei.ca>
References:  <364F3852.583EC129@aei.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981115231446.A14556>