Lines Matching refs:pw
968 static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw ) in lsapi_jailLVE() argument
972 ret = (*fp_lve_jail)( pw, error_msg ); in lsapi_jailLVE()
1014 struct passwd * pw; in setUID_LVE() local
1015 pw = getpwuid( uid ); in setUID_LVE()
1021 if ( pw && fp_lve_jail) in setUID_LVE()
1023 rv = lsapi_jailLVE( pReq, uid, pw ); in setUID_LVE()
1030 pw = getpwuid( uid ); in setUID_LVE()
1052 if ( pw && (pw->pw_gid == gid )) in setUID_LVE()
1054 rv = initgroups( pw->pw_name, gid ); in setUID_LVE()
3843 struct passwd * pw; in lsapi_initSuEXEC() local
3875 pw = getpwnam( "nobody" ); in lsapi_initSuEXEC()
3876 if ( pw ) in lsapi_initSuEXEC()
3879 s_defaultUid = pw->pw_uid; in lsapi_initSuEXEC()
3881 s_defaultGid = pw->pw_gid; in lsapi_initSuEXEC()