Softwares |
Main /
LinuxFileAmpDirectoryPermissionsMain.LinuxFileAmpDirectoryPermissions HistoryHide minor edits - Show changes to output Added lines 1-19:
*%green%Search for world-writable files under your current directory and system. find . -perm -2 -print >> /root/suid_sgid find / -perm -2 -print >> /root/suid_sgid *%green%Search your system for suid and sgid files. find / -type f -perm +6000 -ls >> /root/suid_sgid *%green%Search the /dev directory find /dev -perm -2 -print >> >> /root/suid_sgid *%green%Now run the as as small shell script. find . -perm -2 -print >> /root/suid_sgid find / -perm -2 -print >> /root/suid_sgid find / -type f -perm +6000 -ls >> /root/suid_sgid find /dev -perm -2 -print >> >> /root/suid_sgid |