Lines Matching defs:user
62 char buf[RBUFLN];/* Must not be larger than host, user, dummy below. */
87 char *host, *user, *cp;
116 /* Got both host and user name. */
127 user = userbuf;
137 if (user[0] == '-') {
139 user++;
140 } else if (user[0] == '+')
141 user++;
143 /* Check for empty host/user names (particularly '+'). */
144 if (!host[0] || !user[0]) {
146 auth_debug_add("Ignoring wild host/user names "
159 /* Verify that user name matches. */
160 if (user[0] == '@') {
161 if (!innetgr(user + 1, NULL, client_user, NULL))
163 } else if (strcmp(user, client_user) != 0)
166 /* Found the user and host. */
185 * Tries to authenticate the user using the .shosts or .rhosts file. Returns
201 /* Switch to the user's uid. */
204 * Quick check: if the user has no .shosts or .rhosts files and
221 * Deny if The user has no .shosts or .rhosts file and there
236 debug3("%s: root user, ignoring system hosts files", __func__);
253 * Check that the home directory is owned by root or the user, and is
272 /* Temporarily use the user's uid. */
285 * Make sure that the file is either owned by the user or by