?
Solved

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

Posted on 2009-05-10
7
Medium Priority
?
95 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 2

Assisted Solution

by:jccs0519
jccs0519 earned 248 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 62

Accepted Solution

by:
gheist earned 252 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

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