*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> sysadm/runpriv (1)              
Title
Content
Arch
Section
 

Contents


RUNPRIV(1M)							   RUNPRIV(1M)


NAME    [Toc]    [Back]

     runpriv - run privileged commands

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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)).

FILES    [Toc]    [Back]

     /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    [Toc]    [Back]

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


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
intro Linux Introduction to administration and privileged commands
privilegedUsers IRIX privileged user database.
cap_bind IRIX bind a privileged name to a socket
privileges HP-UX description of privileged user
privgrp HP-UX format of privileged values
intro IRIX introduction to commands, application programs, and programming commands.
bindresvport Tru64 Bind a socket to a privileged IP port
bindresvport OpenBSD bind a socket to a privileged IP port
bindresvport_sa OpenBSD bind a socket to a privileged IP port
rresvport Tru64 Retrieve a socket with a privileged address
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service