addprivuser - give a user all system administration privileges
/usr/sysadm/bin/addprivuser [ -auth auth-scheme ] username
addprivuser adds an entry to the privilegedUsers(4) database. This gives
username the ability to run all of the privileged commands in
/var/sysadm/privbin as if he or she were root.
In order to run addprivuser, you must either be running as root or you
must provide the -auth auth-scheme arguments and pass the authentication
test. If auth-scheme is unix, then must you type the root password when
prompted in order to pass.
The ability to run addprivuser is not itself a privilege. root cannot
give other users the ability to add or remove privileges.
addprivuser will print and log a warning if an NIS user account is given
all privileges because it enables the administrator of the NIS server to
use privileges on this workstation by changing the password of a user
account that has privileges.
/var/sysadm/privilegedUsers Privileged users database
sysmgr(1M), runpriv(1M), checkpriv(1M), addpriv(1M), rmpriv(1M),
adddefpriv(1m), rmdefpriv(1m), rmprivuser(1M), privilege(4),
PPPPaaaaggggeeee 1111 [ Back ]