I'm writing an audit script to find all files with SUID & SGID bit set on the system, using the below command:
find / perm /u=s,g=s
The script will run with a non-root user. Will this user be able to (have permission) to search for all files with SUID/SGID bit set?
If not which specific permission would need to be granted to the user to accomplish this?
The Script would be run mainly on an RHEL system.