?
Solved

AIX IBM ACL question

Posted on 2014-04-15
3
Medium Priority
?
703 Views
Last Modified: 2014-04-16
Can anyone help with interpret the following ACL report for this sample location:

--- /etc/passwd ---
*
* ACL_type   AIXC
*
attributes: 
base permissions
    owner(root):  rw-
    group(security):  r--
    others:  r--
extended permissions
    disabled

Open in new window


1) What does "group(security): r--" .....represent - i.e. who are these users? Is this a default ACL for this area of an AIX system?

2) What does "others: -r" ....represent - i.e. who are these users? Is this a default ACL for this area of an AIX system?

Obviously what we want to prevent is non admin (root) level users with access to files containing sensitive information like passwor hashes, so an understanding of what the above actually represents most helpful.
0
Comment
Question by:pma111
[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
  • 2
3 Comments
 
LVL 3

Author Comment

by:pma111
ID: 40001086
And out of interest, which accounts can open/read the below password hash file on AIX IBM, is this limited to root only (or every user):

/etc/security/passwd
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 40001159
1) Members of the "security" group are allowed to create/modify user/group accounts by means of smit/smitty, except for those bearing the "admin=true" flag in /etc/security/user. These latter users/groups can only be manipulated by root.
No users except for root are by default members of the "security" group, it's your choice (and responsibility) whom to add to this group.
All files related to user/group/role/ldap/kerberos etc.  administration are by default owned by the "security" group.

Check with:

find /etc /usr/bin /usr/sbin -group security

This group is particular to AIX, as far as I know.

2) "others" is not a group, it's a catch-all for those who are neither the owner nor a member of the owning group of a file.
These users are allowed "read" access to files like /etc/passwd so that (for example) "ls -l" can convert numeric user ids to user names.
And yes, this is the default under AIX.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40001163
To answer the follow-up question:

Only root can read/write from/to /etc/security/passwd. Neither group (security) members nor "others" are granted any access, not even "read" access.
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
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…
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.:
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

770 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