runpriv man page on IRIX

Printed from http://www.polarhome.com/service/man/?qf=runpriv&af=0&tf=2&of=IRIX



RUNPRIV(1M)							   RUNPRIV(1M)

NAME
     runpriv - run privileged commands

SYNOPSIS
     /usr/sysadm/bin/runpriv [ -auth auth-scheme ] privilege ...

DESCRIPTION
     runpriv checks to see if you have been granted privilege, and if so it
     runs the command privilege found in the directory /usr/sysadm/privbin
     with the remaining arguments.

     runpriv succeeds if any one of following conditions are met:

     1.	  You are running as root.

     2.	  There is no root password on the system.

     3.	  The file /var/sysadm/defaultPrivileges/privilege exists and has the
	  string "on" as its first line (see defaultPrivileges(4)).

     4.	  There is an entry in the privilegedUsers(4) database granting you
	  all privileges.

     5.	  There is an entry in the privilege(4) database granting you the
	  requested privilege, and you are not an NIS user.

     6.	  The -auth auth-scheme arguments are provided, and you pass the
	  authentication test.	If auth-scheme is unix, then you must type the
	  root password when prompted in order to pass.

     Checks 3, 4, and 5 will automatically fail if the privileges
     configuration file in /etc/config is not on (see chkconfig(1M)).

NOTE
     runpriv will fail if the arguments contain any of the following special
     characters: ";", "|", "<",">", "`", "!" and "#".

FILES
     /usr/sysadm/privbin/*		 Privileged commands
     /usr/sysadm/authdso/*		 Authentication schemes
     /var/sysadm/privilege		 Privilege database
     /var/sysadm/privilegedUsers	 Privileged users database
     /var/sysadm/defaultPrivileges/*	 Default privileges
     /var/sysadm/privenviron		 Environment of privileged command
     /var/sysadm/home			 Home directory for privileged command
     /etc/config/privileges		 Privilege configuration flag

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

									Page 1

RUNPRIV(1M)							   RUNPRIV(1M)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net