Solved

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

Posted on 2009-05-10
7
84 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 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
Technology Partners: 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

707 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