getluid man page on OSF1

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

getluid(3)							    getluid(3)

NAME
       getluid, setluid - Get or set the login UID (Enhanced Security)

SYNOPSIS
       #include <prot.h>

       uid_t getluid( ); #include <prot.h>

       int setluid(
	       uid );

LIBRARY
       Security Library - libsecurity.so

PARAMETERS
       An integer representing the user ID being requested.

DESCRIPTION
       The  getluid() function gets the login UID associated with the process.
       The login UID is recorded with  most  audit  events  generated  by  the
       process,	 and  is sometimes referred to as the audit UID (AUID). If the
       login UID has not been set yet, getluid() returns an error.

       The setluid() function sets the login UID for a	process	 and  all  its
       descendants.

RETURN VALUES
       The  getluid()  function returns the actual UID on success and a -1 for
       failure. The setluid() function returns 0 for success and -1 for	 fail‐
       ure.

SEE ALSO
       Security

								    getluid(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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