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

  man pages->Tru64 Unix man pages -> getluid (3)              
Title
Content
Arch
Section
 

getluid(3)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #include <prot.h>

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

       int setluid(
               uid );

LIBRARY    [Toc]    [Back]

       Security Library - libsecurity.so

PARAMETERS    [Toc]    [Back]

       An integer representing the user ID being requested.

DESCRIPTION    [Toc]    [Back]

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

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

SEE ALSO    [Toc]    [Back]

      
      
       Security



                                                       getluid(3)
[ Back ]
 Similar pages
Name OS Title
sulogin Tru64 single-user login program (Enhanced Security)
locked_out_es Tru64 determine if passwordmanagement disallows user login (Enhanced Security)
locked_out_acct_es Tru64 determine if passwordmanagement disallows user login (Enhanced Security)
auth_for_terminal_es Tru64 determine whether a given user is authorized for login on a given terminal (Enhanced Security)
db_archive Tru64 displays security database log files no longer involved in active transactions (Enhanced Security)
secsetup Tru64 Security features setup graphical interface (Enhanced Security)
secconfig Tru64 Security features setup graphical interface (Enhanced Security)
db_checkpoint Tru64 Periodically checkpoint the security database log (Enhanced Security)
db_dump185 Tru64 Reads and writes the security databases (Enhanced Security)
db_dump Tru64 Reads and writes the security databases (Enhanced Security)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service