Solved

Script that enumerates World Writable files on UNIX flavors (AIX/HP/LINUX and SUN Solaris )

Posted on 2009-05-10
7
75 Views
Last Modified: 2016-05-21
1) A standard, like a policy, which discusses from High-Level (executive) down to technical details on what the best-practices are around World Writable drives.
2) A standard policy document High-Level (executive) down to technical details on what the best-practices are around World Writable drives on  UNIX flavors (AIX/HP/LINUX and SUN Solaris )
0
Comment
Question by:ceenergy
7 Comments
 
LVL 2

Assisted Solution

by:jccs0519
jccs0519 earned 62 total points
ID: 24357523
Not sure I understand what you want, but I'll throw in my 2 cents.

If you want command to change file permission:
$ chmod -R 777
This will recursively change every file and directory down the tree to world writable.  Some older chmod may not work w/ -R.

If you want a script to display file permission:
$ ls -Rl
This will display file permission recursively down the directory tree

But sounds like you want some sort of standard document for best practices on public drives?  You'll probably need to be more specific, like you mean for security purpose?  or you mean like the sticky bit use in /tmp (drwxrwxrwt)?

0
 
LVL 62

Expert Comment

by:gheist
ID: 24363863
You have to examine "man find"
AIX has some extended attributes not in other systems, and also you can set no attributes and use ACL to give full access
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 24371316
try the below command

find / -perm /a+w
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 62

Accepted Solution

by:
gheist earned 63 total points
ID: 24371482
0
 

Expert Comment

by:EE_AutoDeleter
ID: 41608259
I've requested that this question be deleted for the following reason:

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Not enough information to confirm an answer.

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Auto Deleter
0
 
LVL 62

Expert Comment

by:gheist
ID: 41608260
Everybody helped with question in question title....
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question