....it is pretty easy to scan a system for directories that have group or world write permissions on BSD Unix and Linux-based systems, if you use the tools you have at your fingertips on a default install. To get verbose output for an audit of directory group and world write permissions across the entire system, the following command works well:
....Code: Select all
# find / -type d \( -perm -g+w -or -perm -o+w \) -exec ls -adl {} \;
Use the find utility to scan for writable directories
Use the find utility to scan for writable directories
http://blogs.techrepublic.com.com/secur ... ag=nl.e036