Solved

ACL report for \etc directory AIX IBM

Posted on 2014-02-12
5
517 Views
Last Modified: 2014-02-12
is there anyway to a do an acceess control list report for all sub folders/files within \etc on an AIX IBM system? i.e. owner and permissions, in a single report?
0
Comment
Question by:pma111
  • 3
  • 2
5 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39853048
For directories:

find /etc -type d | while read item; do echo "*\n--- $item ---"; aclget $item; done

For files:

find /etc -type f | while read item; do echo "*\n--- $item ---"; aclget $item; done

add "> reportfile.txt" to create an outputfile.
0
 
LVL 3

Author Comment

by:pma111
ID: 39853055
could you give/upload a sample of the output if it doesnt expose any sensitive informaiton...
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39853063
*
--- /etc ---
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rwx
    group(system):  r-x
    others:  r-x
extended permissions
    disabled
*
--- /etc/.tls ---
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rwx
    group(system):  r-x
    others:  r-x
extended permissions
    disabled
*
--- /etc/.tls/rootCA ---
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rwx
    group(system):  ---
    others:  ---
extended permissions
    disabled

Open in new window

0
 
LVL 3

Author Comment

by:pma111
ID: 39853068
does others typically mean everyone?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39853076
Yes.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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.

895 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

12 Experts available now in Live!

Get 1:1 Help Now