Solved

AIX IBM ACL question

Posted on 2014-04-15
3
670 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
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 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

13 Experts available now in Live!

Get 1:1 Help Now