diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ agent connections. | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "includes.h" | 20 | #include "includes.h" |
21 | RCSID("$Id: sshd.c,v 1.9 1999/10/29 03:09:40 damien Exp $"); | 21 | RCSID("$Id: sshd.c,v 1.10 1999/11/02 08:05:02 damien Exp $"); |
22 | 22 | ||
23 | #include "xmalloc.h" | 23 | #include "xmalloc.h" |
24 | #include "rsa.h" | 24 | #include "rsa.h" |
@@ -1493,7 +1493,7 @@ do_authentication(char *user, int privileged_port) | |||
1493 | if (pw->pw_uid == 0 && !options.permit_root_login) | 1493 | if (pw->pw_uid == 0 && !options.permit_root_login) |
1494 | { | 1494 | { |
1495 | if (forced_command) | 1495 | if (forced_command) |
1496 | log("Root login accepted for forced command.", forced_command); | 1496 | log("Root login accepted for forced command."); |
1497 | else | 1497 | else |
1498 | packet_disconnect("ROOT LOGIN REFUSED FROM %.200s", | 1498 | packet_disconnect("ROOT LOGIN REFUSED FROM %.200s", |
1499 | get_canonical_hostname()); | 1499 | get_canonical_hostname()); |