Lines Matching refs:user
72 const void *rhost, *tty, *user;
76 pam_err = pam_get_item(pamh, PAM_USER, &user);
80 if (user == NULL)
83 PAM_LOG("Got user: %s", (const char *)user);
104 PAM_LOG("Checking login.access for user %s from host %s",
105 (const char *)user, (const char *)rhost);
106 if (login_access(user, rhost, &login_access_opts) != 0)
109 (const char *)user, (const char *)rhost);
111 PAM_LOG("Checking login.access for user %s on tty %s",
112 (const char *)user, (const char *)tty);
113 if (login_access(user, tty, &login_access_opts) != 0)
116 (const char *)user, (const char *)tty);
118 PAM_LOG("Checking login.access for user %s",
119 (const char *)user);
120 if (login_access(user, "***unknown***", &login_access_opts) != 0)
123 (const char *)user);