Home
last modified time | relevance | path

Searched refs:lusername (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/rhosts_auth/
H A Drhosts_auth.c49 const char *host = NULL, *lusername = NULL; in pam_sm_authenticate() local
64 if (pam_get_item(pamh, PAM_USER, (const void **)&lusername) != in pam_sm_authenticate()
75 if (lusername == NULL || *lusername == '\0') in pam_sm_authenticate()
85 lusername, host); in pam_sm_authenticate()
88 if (getpwnam_r(lusername, &pwd, pwd_buffer, sizeof (pwd_buffer)) in pam_sm_authenticate()
97 return (ruserok(host, is_superuser, rusername, lusername) in pam_sm_authenticate()
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dstore_forw_creds.c44 char *lusername, in store_forw_creds() argument
54 if (!(pwd = getpwnam(lusername))) in store_forw_creds()
H A Dstore_forw_creds.h38 char *lusername,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c75 static char lusername[UT_NAMESIZE+1]; variable
433 getstr(f, lusername, sizeof (lusername), "locuser"); in recvauth()
439 getstr(f, lusername, sizeof (lusername), "locuser"); in recvauth()
481 buflen = strlen(term) + strlen(lusername) + 32; in recvauth()
499 term, lusername); in recvauth()
620 creds, *ticket, lusername, in recvauth()
670 if (client && krb5_kuserok(krb_context, client, lusername)) in do_krb_login()
697 strlen(lusername) + 80; in do_krb_login()
715 krusername, lusername); in do_krb_login()
1194 lusername, /* local user */ in doit()
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c336 static char rusername[NMAX+1], lusername[NMAX+1]; variable
1513 SCPYL(lusername, user_name); in get_options()
1596 if (!strlen(lusername)) in process_rlogin()
1597 getstr(lusername, sizeof (lusername), "locuser"); in process_rlogin()
1609 if (pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin()
1612 pwd = getpwnam(lusername); in process_rlogin()
1622 if (strlen(lusername) && in process_rlogin()
1623 pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin()
1630 SCPYL(user_name, lusername); in process_rlogin()
1632 lusername[0] = '\0'; in process_rlogin()