On a Linux server, I need to remove root privileges from a group of users. But those users have legitimate reasons to be able to use the "find" utility to search for files based on file names, modification dates, and other metadata.
On the server, file names are not sensitive, but the file contents may be.
I would like use sudo to allow the users to search for files anywhere on the server. The "find" utility is great, but it allows for all kinds of side effects, such as using "-exec" to spawn arbitrary commands.
Can I get find
to work with my restrictions?
Best Answer
What about locate?
Or maybe even slocate: