Locating files own by a user.... 2003-06-21 - By Eric Koldeweij
Back 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... > >
|
|