AIX padmin role for other users on Vio 2.2
id : r22nw25p6o
category : computer
blog : unix
created : 05/09/11 - 15:38:49

  • Check VIO server version :
padmin# ioslevel 
2.2.0.11-FP-24 SP-01

  • As root change role for user :
# chuser roles=PAdmin another_user

  • Edit /etc/security/user and add this line :
# vi /etc/security/user
another_user:
        admin = false
        default_roles = PAdmin

  • another_user can now run PAdmin commands :
another_user#  /usr/ios/cli/ioscli lsmap -vadapter vhost0
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8205.E6B.0680E6P-V1-C5                      0x00000005
....

  • If you want a readonly access on VIO configuration user ViewOnly role
# chuser role=ViewOnly ro_user
# vi /etc/security/user
ro_user:
        admin = false
        default_roles = ViewOnly