Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pam_modules/rhosts_auth/
H A Drhosts_auth.c54 char *host = NULL, *lusername = NULL; in pam_sm_authenticate() local
69 if (pam_get_item(pamh, PAM_USER, (void **) &lusername) != PAM_SUCCESS) in pam_sm_authenticate()
76 if (lusername == NULL || *lusername == '\0') in pam_sm_authenticate()
86 lusername, host); in pam_sm_authenticate()
89 if (getpwnam_r(lusername, &pwd, pwd_buffer, sizeof (pwd_buffer)) in pam_sm_authenticate()
98 return (ruserok(host, is_superuser, rusername, lusername) in pam_sm_authenticate()
/titanic_44/usr/src/cmd/cmd-inet/common/
H A Dstore_forw_creds.c47 char *lusername, in store_forw_creds() argument
57 if (!(pwd = getpwnam(lusername))) in store_forw_creds()
H A Dstore_forw_creds.h40 char *lusername,
/titanic_44/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()
/titanic_44/usr/src/cmd/login/
H A Dlogin.c334 static char rusername[NMAX+1], lusername[NMAX+1]; variable
1511 SCPYL(lusername, user_name); in get_options()
1592 if (!strlen(lusername)) in process_rlogin()
1593 getstr(lusername, sizeof (lusername), "locuser"); in process_rlogin()
1605 if (pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin()
1608 pwd = getpwnam(lusername); in process_rlogin()
1618 if (strlen(lusername) && in process_rlogin()
1619 pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin()
1626 SCPYL(user_name, lusername); in process_rlogin()
1628 lusername[0] = '\0'; in process_rlogin()