Re: Additional Security Measures for *nix
Quote:
Originally posted here by thehorse13
Whenever I am asked to prepare a *nix server, I *always* issue these commands to check and see which files are SUID,GUID and world-writable.
* For SUID:
==============================
find / -type f -perm -4000 -ls
** For GUID
==============================
find / type f -perm -2000 -ls
Hi guys,
You wanna try my trick, you just type "one command" and you will have both SUID and GUID instead of typing "# find / -type -perm -4000 -ls and # find / -type f -perm -2000 -ls"
Code:
sweet# find / -type f -perm +6000 -ls
I hope you like my trick
Cheersss
annya