question

"[email protected] [sed-users]" <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
Hello Sed users, 


I have a question on how to find world writable files.  If I type in the following, I'm not completely getting all of the world writible system files.  
 

 
sed -i '/find \/selinux -type f -perm +0002 -exec chmod o-w {} \\;/d' /etc/rc.local

 sed -i '/find \/ -perm -2 -a \\( -type d -o -type f \\) -exec ls -ld {} \\;/d' /etc/rc.local
 

 is there something else I can add to make sure all the world writable files are found? 

 

 

 





[Non-text portions of this message have been removed]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.