summaryrefslogtreecommitdiff
path: root/auth-rhosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-rhosts.c')
-rw-r--r--auth-rhosts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c
index 9b651bacd..afca1f7c6 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -220,7 +220,7 @@ auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostnam
220 * not group or world writable. 220 * not group or world writable.
221 */ 221 */
222 if (stat(pw->pw_dir, &st) < 0) { 222 if (stat(pw->pw_dir, &st) < 0) {
223 logit("Rhosts authentication refused for %.100s: " 223 log("Rhosts authentication refused for %.100s: "
224 "no home directory %.200s", pw->pw_name, pw->pw_dir); 224 "no home directory %.200s", pw->pw_name, pw->pw_dir);
225 auth_debug_add("Rhosts authentication refused for %.100s: " 225 auth_debug_add("Rhosts authentication refused for %.100s: "
226 "no home directory %.200s", pw->pw_name, pw->pw_dir); 226 "no home directory %.200s", pw->pw_name, pw->pw_dir);
@@ -229,7 +229,7 @@ auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostnam
229 if (options.strict_modes && 229 if (options.strict_modes &&
230 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) || 230 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) ||
231 (st.st_mode & 022) != 0)) { 231 (st.st_mode & 022) != 0)) {
232 logit("Rhosts authentication refused for %.100s: " 232 log("Rhosts authentication refused for %.100s: "
233 "bad ownership or modes for home directory.", pw->pw_name); 233 "bad ownership or modes for home directory.", pw->pw_name);
234 auth_debug_add("Rhosts authentication refused for %.100s: " 234 auth_debug_add("Rhosts authentication refused for %.100s: "
235 "bad ownership or modes for home directory.", pw->pw_name); 235 "bad ownership or modes for home directory.", pw->pw_name);
@@ -256,7 +256,7 @@ auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostnam
256 if (options.strict_modes && 256 if (options.strict_modes &&
257 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) || 257 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) ||
258 (st.st_mode & 022) != 0)) { 258 (st.st_mode & 022) != 0)) {
259 logit("Rhosts authentication refused for %.100s: bad modes for %.200s", 259 log("Rhosts authentication refused for %.100s: bad modes for %.200s",
260 pw->pw_name, buf); 260 pw->pw_name, buf);
261 auth_debug_add("Bad file modes for %.200s", buf); 261 auth_debug_add("Bad file modes for %.200s", buf);
262 continue; 262 continue;