Security
cancel
Showing results for 
Search instead for 
Did you mean: 

To find out World writable file in a Server.

 
DharmaRao G
Advisor

To find out World writable file in a Server.

Do you have a UNIX script that validates world writable in the domain environment?
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: To find out World writable file in a Server.

You could use find: find / -perm -o+w
Olivier Masse
Honored Contributor

Re: To find out World writable file in a Server.

Using find as suggested above is the quickest way to produce such a report. If you plan on doing this regularly I wrote a better tool a few years ago, available (free) at http://www.mayoxide.com/ncops. I used it recently on 11iv3, it still works. It's fairly simple and does the job, but it doesn't support files bigger than 2Gb.

Good luck

Sajjad Sahir
Honored Contributor

Re: To find out World writable file in a Server.


Dear friend

obtains a list of world writable files and examine them for validity and pay particular attention to any system owned executable and control files

find / -type f -perm -0002 -exec ls -al {} \;

thanks and regards

Sajjad Sahir