Lines Matching defs:user
60 char buf[1024]; /* Must not be larger than host, user, dummy below. */
72 logit("User %s hosts file %s is not a regular file",
84 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp;
113 /* Got both host and user name. */
124 user = userbuf;
134 if (user[0] == '-') {
136 user++;
137 } else if (user[0] == '+')
138 user++;
140 /* Check for empty host/user names (particularly '+'). */
141 if (!host[0] || !user[0]) {
143 auth_debug_add("Ignoring wild host/user names in %.100s.",
155 /* Verify that user name matches. */
156 if (user[0] == '@') {
157 if (!innetgr(user + 1, NULL, client_user, NULL))
159 } else if (strcmp(user, client_user) != 0)
162 /* Found the user and host. */
181 * Tries to authenticate the user using the .shosts or .rhosts file. Returns
208 /* Switch to the user's uid. */
211 * Quick check: if the user has no .shosts or .rhosts files, return
226 /* Deny if The user has no .shosts or .rhosts file and there are no system-wide files. */
248 * Check that the home directory is owned by root or the user, and is
267 /* Temporarily use the user's uid. */
280 * Make sure that the file is either owned by the user or by