Re: Locating files own by a user....
Eric Koldeweij <[email protected]> Sat, 21 Jun 2003 11:54:16 +0200
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
If the question starts with "how do I locate a file", the answer is (almost) always: use the "find" command.... Also in this case :) find / -type f -uid -500 -print This finds all regular files owned by a user with user ID less than 500. See "man find" for details. This assumes that your admin users have a uid of less than 500, and regular users have uids greater than 500, which is the case if you didn't force uids yourself when creating users. Eric. System wrote: >How do I locate all files on the server owned by admin user? > >Thank you, > >Tina... > >