Sponsored Content
Operating Systems AIX Unable to set ACLs on sulog - need to grant read permission to a normal user on AIX 6.1 Post 303040663 by prvnrk on Sunday 3rd of November 2019 02:12:06 PM
Old 11-03-2019
Thanks zxmaus for your reply. I think i tried that as well in my first attempt. However I tried it again but no luck. It's almost shocking that there is no working/proved documentation anywhere about AIX ACLs.

Code:
root@TESTAIX61(/var/adm)#  EDITOR=/usr/bin/vi; export EDITOR
root@TESTAIX61(/var/adm)#  acledit sulog
Should the modified ACL be applied? (yes) or (no) yes
root@TESTAIX61(/var/adm)#  id splunk
uid=228(splunk) gid=206(splunk) groups=1(staff)
root@TESTAIX61(/var/adm)#  aclget sulog
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rw-
    group(system):  ---
    others:  ---
extended permissions
    enabled
    permit   r--     u:splunk
    permit   r--     g:splunk
root@TESTAIX61(/var/adm)#  su - splunk
splunk@TESTAIX61(/home/splunk)#  pwd
/home/splunk
splunk@TESTAIX61(/home/splunk)# id
uid=228(splunk) gid=206(splunk) groups=1(staff)
splunk@TESTAIX61(/home/splunk)# tail /var/adm/sulog
/var/adm/sulog: Permission denied
splunk@TESTAIX61(/home/splunk)# aclget /var/adm/sulog
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rw-
    group(system):  ---
    others:  ---
extended permissions
    disabled
    permit   r--     u:splunk
    permit   r--     g:splunk
splunk@TESTAIX61(/home/splunk)#

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies

2. AIX

To find RAM Size in AIX as normal user?

Hi, Am jus trying to find the Total RAM Size of a AIX m/c (in MB)..svmon works perfectly for a superuser...But i want to achive this as a normal user...Please help me out with correct command.. Best Regards, Muthukumaran.M (3 Replies)
Discussion started by: muthukumaran13
3 Replies

3. UNIX for Dummies Questions & Answers

MySQL GRANT permission.

Hi, I'm one of a server administrators. I've the linux root account but I don't know the root password of MySQL (Server version: 5.0.32). I want to GRANT ALL PRIVILEGES to my MySQL account without changing the MySQL's root password. How can I do so? (0 Replies)
Discussion started by: mjdousti
0 Replies

4. AIX

Normal User Unable to Login Through AIX CDE

When we as normal user try to login, the session startup terminates and we are presented with the login screen.The root user is able to login without any problem.I can log in to the Aix server as normal user through telnet & using xmanager but not directly through server terminal .The Aix version... (1 Reply)
Discussion started by: ranadeep
1 Replies

5. AIX

Unable to set remote printer in AIX

Hi all, I am a beginner in AIX. I am facing a problem with remote printing in AIX. HP laser jet 1320 printer is connected to a printer server (PCI Mini - 100U3), which is configured as remote printer from AIX server. But I am not able to print from the AIX server by using "lp -d... (0 Replies)
Discussion started by: Rainy
0 Replies

6. UNIX for Dummies Questions & Answers

unable to set user home dir

I created a new user and changed their home directory to /export/home/mydir/ I verified in the passwd file that the home directory is set to the above and that owner of that directory is the new user and yet when I log in as that user I get the following message: No directory! Logging in with... (14 Replies)
Discussion started by: some_one
14 Replies

7. UNIX for Dummies Questions & Answers

grant sudo permission

Hi all, I have to grant sudo permission to a user. I have searched online and find that /etc/sudoers file needs to be changed with visudo command. As i am new to linux, this is not clear to me. Can anybody take an example and show me how exactly this done. Thanks in advance! (2 Replies)
Discussion started by: lramsb4u
2 Replies

8. Shell Programming and Scripting

set only some command & scripts permission to a particular user

hi, i am new in unix.......i am using bash and i want to create a user which has only some command and scripts permission.........is it possible? thanx (1 Reply)
Discussion started by: rakeshtomar82
1 Replies

9. UNIX and Linux Applications

Permission ERROR: Unable to load the User's Hive

Hi all, Please help me solving the error that i get when i trigger the job from autosys. The job is failing after going to restart start and it is throwing an "exit code:128". Please help me understand whats this exit code and how to overcome this. And when i check the logs its giving me an... (4 Replies)
Discussion started by: Bharath V
4 Replies

10. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
updmerge(8)						      System Manager's Manual						       updmerge(8)

NAME
updmerge - DO NOT USE THE updmerge UTILITY! SYNOPSIS
/usr/bin/updmerge [-r] directory /usr/bin/updmerge directory /usr/bin/updmerge file directory OPTIONS
Performs a recursive reinstallation of all the files and subdirectories in the /var/adm/install/update area relative to the specified directory. OPERANDS
Specifies the directory from which the reinstallation is relative, typically the root (/) directory. Specifies the name of a file in the update area, or specifies the relative pathname of that file from the update area. DESCRIPTION
Caution DO NOT USE THE updmerge UTILITY! The updmerge utility lets you merge files that have been preserved from a previous installation into a new installation environment. Any user file or customized file from a previous installation that you do not want replaced or overwritten can be saved and reintegrated into a new installation environment. You must have superuser privileges to invoke the updmerge utility, and the system must be in single-user mode. The updmerge utility must be invoked from the /var/adm/install/update directory, which is created by the updmv utility and contains entries for the files that have been preserved from the previous installation. Use the -r option followed by the directory operand to perform a recursive installation of all preserved subdirectories under the /var/adm/install/update area relative to a specific directory. Use the directory operand only to install only those preserved files directly under the /var/adm/install/update directory. This causes a non-recursive merge of the files in the specified directory. If you use the directory operand only, subdirectories in /var/adm/install/update are not merged into the new installation environment. Use the file operand followed by the directory operand to install a single preserved file. This file can be the name of the file in the /var/adm/install/update directory, or it can contain the relative pathname of that file from the /var/adm/install/update directory. If the file operand is a directory name instead of a file name, the updmerge utility reinstalls all files in that directory, but none in its subdirectories. To integrate files from the previous installation into the new installation environment, the updmerge utility compares each preserved file to the newly installed files with the following rules: If the preserved file does not exist on the system, you can view the preserved file before determining whether or not to install it. If the preserved file does exist on the system, you can view the differences between the preserved file and the newly installed file before selecting the file you want installed on the system. If a preserved file is identical to a newly installed file, a message is issued and the next file is checked. EXAMPLES
Recursively install all preserved subdirectories and files under /var/adm/install/update relative to the root (/) directory: updmerge -r / Install the preserved /etc/hosts file relative to the root (/) directory: updmerge etc/hosts / Install the preserved files in the etc directory relative to the root (/) directory (in this case, /etc): updmerge etc / RESTRICTIONS
Caution DO NOT USE THE updmerge UTILITY! You must have superuser privileges to invoke the updmerge utility. The system must be in single-user mode before you invoke the updmerge utility. The updmerge utility must be invoked from the /var/adm/install/update directory. FILES
Storage area created by the updmv utility. SEE ALSO
genufi(8), invsync(8), updmv(8), udetect(8), usync(8) stl_inv(4) updmerge(8)
All times are GMT -4. The time now is 09:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy