Searched refs:lusername (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/pam_modules/rhosts_auth/ |
H A D | rhosts_auth.c | 52 char *host = NULL, *lusername = NULL; in pam_sm_authenticate() local 67 if (pam_get_item(pamh, PAM_USER, (void **) &lusername) != PAM_SUCCESS) in pam_sm_authenticate() 74 if (lusername == NULL || *lusername == '\0') in pam_sm_authenticate() 84 lusername, host); in pam_sm_authenticate() 87 if (getpwnam_r(lusername, &pwd, pwd_buffer, sizeof (pwd_buffer)) in pam_sm_authenticate() 96 return (ruserok(host, is_superuser, rusername, lusername) in pam_sm_authenticate()
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | store_forw_creds.c | 44 char *lusername, in store_forw_creds() argument 54 if (!(pwd = getpwnam(lusername))) in store_forw_creds()
|
H A D | store_forw_creds.h | 38 char *lusername,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 75 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 D | login.c | 334 static char rusername[NMAX+1], lusername[NMAX+1]; variable 1512 SCPYL(lusername, user_name); in get_options() 1595 if (!strlen(lusername)) in process_rlogin() 1596 getstr(lusername, sizeof (lusername), "locuser"); in process_rlogin() 1608 if (pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin() 1611 pwd = getpwnam(lusername); in process_rlogin() 1621 if (strlen(lusername) && in process_rlogin() 1622 pam_set_item(pamh, PAM_USER, lusername) != PAM_SUCCESS) in process_rlogin() 1629 SCPYL(user_name, lusername); in process_rlogin() 1631 lusername[0] = '\0'; in process_rlogin()
|