Re: Anyone already have a script to list ALL files with no VALID USER or GROUP NAME?

From: James Jackson (James.Jackson@MAIL.STATE.AR.US)
Date: Fri Oct 25 2002 - 10:09:23 EDT


Look at the man page for find. There are search option for -nouser (no
corresponding user in /etc/passwd) and -nogroup (no corresponding group in
/etc/group).

Regards,

James Jackson

-----Original Message-----
From: Clifton, Pablo [mailto:Pablo.Clifton@BCBSFL.COM]
Sent: Friday, October 25, 2002 8:46 AM
To: aix-l@Princeton.EDU
Subject: Anyone already have a script to list ALL files with no VALID USER
or GROUP NAME?

Hi-
I need to scan multiple systems for files that do not have a user or group
name. (just a uid/gid that is not part of the /etc/passwd or /etc/group
file)

Any ideas on the quickest way to find those files?

thanks,
-pablo

--
Pablo Clifton
UNIX Tech Services
Blue Cross Blue Shield of Florida, Inc., and its subsidiary and
affiliate companies are not responsible for errors or omissions in this
e-mail message. Any personal comments made in this e-mail do not reflect the
views of Blue Cross Blue Shield of Florida, Inc.


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:17 EDT