addpriv(1M)

addpriv - add a privilege to the system administration privilege database

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     addpriv - add a privilege to the system administration privilege database

SYNOPSIS
     /usr/sysadm/bin/addpriv [ -auth auth-scheme ] user privilege [ privilege
     ... ]
     /usr/sysadm/bin/addpriv [ -auth auth-scheme ] -chkconfig

DESCRIPTION
     addpriv adds an entry to the privilege(4) database, so that henceforth
     user is granted privilege.  This means that runpriv would run the command
     privilege in the directory /usr/sysadm/privbin on user's behalf.

     Multiple privileges can be passed to one addpriv command.  An entry is
     added for each privilege specified.

     To see the privileges associated with individual tasks, choose "View as
     Tasks" from the Privilege Manager menu. See privmgr(1M).

     The -chkconfig option is used to enable privileges on the system.
     addpriv -chkconfig runs the command chkconfig privileges on.

     For security reasons, privileges cannot be added for NIS accounts.  If
     added to the database by hand, they will be ignored.

     In order to run addpriv, 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 addpriv is not itself a privilege.  root cannot give
     other users the ability to add or remove privileges.

FILES
     /var/sysadm/privilege         Privilege database
     /etc/config/privileges        Privilege configuration flag

SEE ALSO
     sysmgr(1M), chkconfig(1M), runpriv(1M), checkpriv(1M), rmpriv(1M),
     adddefpriv(1m), rmdefpriv(1m), addprivuser(1M), rmprivuser(1M),
     privmgr(1M), privilege(4), defaultPrivileges(4), privilegedUsers(4).