secmodel_suser man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

SECMODEL_SUSER(9)	 BSD Kernel Developer's Manual	     SECMODEL_SUSER(9)

NAME
     secmodel_suser — super-user security model

DESCRIPTION
     secmodel_suser implements the traditional super-user (root) as the user
     with effective user-id 0.	The super-user is the host administrator, con‐
     sidered to have higher privileges than other users.

FUNCTIONS
     secmodel_suser exposes a secmodel_eval(9) evaluation routine to test
     whether a set of credentials can be assimilated to super-user credentials
     or not.

     The parameters to secmodel_eval(9) are:
     id	    the unique identifier of secmodel_suser:
	    "org.netbsd.secmodel.suser"
     what   a string, "is-root".
     arg    the kauth(9) credentials (kauth_cred_t) of the caller.
     ret    a boolean, set by secmodel_suser to true when the credentials are
	    equivalent to super-user, false otherwise.

RETURN TYPES
     If successful, the evaluation returns 0 with the ret argument being
     either true or false.

SEE ALSO
     kauth(9), secmodel(9), secmodel_bsd44(9), secmodel_eval(9)

AUTHORS
     Elad Efrat ⟨elad@NetBSD.org⟩

BSD			       December 4, 2011				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

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