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

  man pages->IRIX man pages -> sgi_getclearancebyname (3c)              
Title
Content
Arch
Section
 

Contents


SGI_GETCLEARANCEBYNAME(3C)			    SGI_GETCLEARANCEBYNAME(3C)


NAME    [Toc]    [Back]

     sgi_getclearancebyname - get the default and allowed mac label range for
     a named user

SYNOPSIS    [Toc]    [Back]

     #include <clearance.h>

     struct clearance *sgi_getclearancebyname(const char *name);

DESCRIPTION    [Toc]    [Back]

     Return the	default	and allowed mac	label ranges for the user name.	 The
     routine uses the NIS map clearance.byname if NIS is active,
      otherwise	it uses	the local clearance file, /etc/clearance.

RETURN VALUES    [Toc]    [Back]

     The routine returns a pointer to an allocated struct clearance. This
     structure and its components (cap->cl_name, cap->cl_default and cap-
     >cl_allowed) have been allocated by the routine with malloc(3c) and
     should be released	with free(3c) when no longer needed.

     If	errors are encountered,	or the specified user name could not be	found,
     NULL is returned.

ERRORS    [Toc]    [Back]

     ENOSYS	     MAC is not	enabled.

SEE ALSO    [Toc]    [Back]

      
      
     clearance(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
sgi_getcapabilitybyname IRIX get the default and allowed capability sets for a named user
acl_delete_def_file IRIX delete the default ACL for a named directory
useradd Linux Create a new user or update default new user information
clearance IRIX user clearance label information file
cd_defs Tru64 sets or gets default values for the User or Group ID, or for file or directory permissions
pathfind IRIX search for named file in named directories
xlate_pro_add_range IRIX add a translation range
shells HP-UX list of allowed login shells
ftpusers Linux file which lists users who are not allowed to use ftp
vm_map_delete FreeBSD deallocate an address range from a map
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service