I omitted root from the second command - typed my response from home, didn't check it on an aix box
# mkgroup admin=yes allowsu
# chuser sugroups=allowsu,system,sys root # check contents of sugroups attribute for user root first
# chuser groups=staff,allowsu bill # check contents of groups attr for user bill first
here's a real example:
# id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit)
# lsuser -a sugroups root
root sugroups=system,bin,sys,adm,security,cron,audit
# mkuser bill
# su - bill
$ id
uid=205(bill) gid=1(staff)
$ su -
root's Password: ********
Cannot su to "root" : Authentication is denied.
$ exit
# lsuser -a groups bill
bill groups=staff
# mkgroup admin=true allowsu
# chuser sugroups=system,bin,sys,adm,security,cron,audit,allowsu root
# chuser groups=staff,allowsu bill
# su - bill
$ id
uid=205(bill) gid=1(staff) groups=204(allowsu)
$ su
root's Password: ********
# id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit)
# exit
$ exit
#
HTH,
p5wizard