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
Solved

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

Posted on 2009-05-10
7
71 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.

809 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