[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

AIX IBM ACL question

Posted on 2014-04-15
3
Medium Priority
?
719 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
  • 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 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