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

  man pages->IRIX man pages -> capability (4)              
Title
Content
Arch
Section
 

Contents


capability(4)							 capability(4)


NAME    [Toc]    [Back]

     capability	- user capability database

DESCRIPTION    [Toc]    [Back]

     The file /etc/capability describes	the default capability set a user may
     have when logging onto the	system,	and the	maximum	capability set a user
     may have when logging onto	the system or using the	su(1M) command.	There
     is	one entry for each user. Each entry is separated from the next by a
     newline. Each field within	each entry is separated	by a colon. An entry
     beginning with # is ignored.

     The capability file contains the following	information for	each user:

     name      User's login name. This must exactly match the corresponding
	       entry in	/etc/passwd.

     default capability	set
	       The default capability set a user gets when logging onto	the
	       system.	This consists of a capability set in a form acceptable
	       to cap_from_text(3C).

     maximum capability	set
	       The maximum capability set a user may specify when logging onto
	       the system, or when using su(1M).  This field has the same form
	       as the default field. This field	should be a superset of	the
	       default field.

EXAMPLE    [Toc]    [Back]

     Here is a sample /etc/capability file:

	  root:all+eip:all+eip
	  sysadm:all=:all=
	  cmwlogin:all+eip:all+eip
	  diag:all=:all=
	  daemon:all=:all=
	  bin:all=:all=
	  uucp:all=:all=
	  sys:all=:all=
	  adm:all=:all=
	  lp:all=:all=
	  nuucp:all=:all=
	  auditor:CAP_AUDIT_WRITE,CAP_AUDIT_CONTROL,CAP_KILL+eip:CAP_AUDIT_WRITE,CAP_AUDIT_CONTROL,CAP_KILL+eip
	  dbadmin:all=:all=
	  xserver:all=:all=
	  demos:all=:all=
	  tutor:all=:all=
	  guest:all=:all=
	  jenny:all=:CAP_DAC_READ_SEARCH+eip







									Page 1






capability(4)							 capability(4)



     In	this example, there are	specific entries for users root	and auditor,
     to	assure that they have non-empty	capability sets	when logging in, and
     that they can acquire all the capabilities	they need when necessary.
     There is also a specific entry for	user jenny, who	has an empty
     capability	set by default,	but can	request	CAP_DAC_READ_SEARCH capability
     when necessary

FILES    [Toc]    [Back]

     /etc/capability

SEE ALSO    [Toc]    [Back]

      
      
     cap_from_text(3C),	chcap(1), login(1), passwd(1), su(1M).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
termcap Tru64 Terminal capability database
auth.conf FreeBSD authentication capability database
termcap Linux terminal capability database
printcap OpenBSD printer capability database
termcap OpenBSD terminal capability database
cap_mkdb FreeBSD create capability database
cap_mkdb OpenBSD create capability database
cgetent NetBSD capability database access routines
login.conf FreeBSD login class capability database
getcap OpenBSD capability database access routines
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service