Solved

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

Posted on 2009-05-10
7
55 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
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
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
Comment Utility
try the below command

find / -perm /a+w
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 61

Accepted Solution

by:
gheist earned 63 total points
Comment Utility
0
 

Expert Comment

by:EE_AutoDeleter
Comment Utility
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 61

Expert Comment

by:gheist
Comment Utility
Everybody helped with question in question title....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now