Solved

ACL report for \etc directory AIX IBM

Posted on 2014-02-12
5
523 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

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

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

679 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