Knowledgebase
How to scan for SUID or SGID files.
Posted by Mike C. on 12 September 2009 12:00 AM
|
|
To scan the system for SUID or GID files you will type: # find / \( -perm -4000 -o -perm -2000 \) -type -f -exec ls -la {} \; This is important to do on a routine basis. You might make a crontab to do this once a day and output the data in a file. | |
|
Comments (0)