PreviousNext

Getting Password and Group Information for Local Process Identities

Two calls, sec_login_get_pwent( ) and sec_login_get_groups( ), are useful for setting the local identity of a process. These routines return password or group information from the network registry, if that service is available, or from the local files of password and group information, if the network service is unavailable.