diff options
author | Damien Miller <djm@mindrot.org> | 2003-04-09 20:59:48 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-04-09 20:59:48 +1000 |
commit | 996acd2476d9d34b18bb4f99012ea0927458f418 (patch) | |
tree | 1420f273ae5395fc0adc9aa25dcd44fe821884a6 /auth-rhosts.c | |
parent | 5f16a5ee4e35d36e72f8f72fb2334087cb2ea680 (diff) |
*** empty log message ***
Diffstat (limited to 'auth-rhosts.c')
-rw-r--r-- | auth-rhosts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c index afca1f7c6..9b651bacd 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 | log("Rhosts authentication refused for %.100s: " | 223 | logit("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 | log("Rhosts authentication refused for %.100s: " | 232 | logit("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 | log("Rhosts authentication refused for %.100s: bad modes for %.200s", | 259 | logit("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; |