Trịnh Thị Hòa
New member
How do I search for all Suid files?
Answer
We can find all the files with SUID SGID permissions using the find command.
Answer
We can find all the files with SUID SGID permissions using the find command.
- To find all files with SUID permissions under root : # find / -perm +4000.
- To find all files with SGID permissions under root : # find / -perm +2000.
- we can also combine both find commands in a single find command: