diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
commit | a25ec0b132c44c9e341e08464ff830de06b81126 (patch) | |
tree | e20842d80f9e25cb6cf09525abea63f7bf655dd7 /openbsd-compat/port-aix.c | |
parent | 1b816ea846aca3ee89e7995373ace609e9518424 (diff) | |
parent | 70847d299887abb96f8703ca99db6d817b78960e (diff) |
import openssh-4.7p1-gsskex-20070927.patch
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index b9fabf61f..94faec670 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -240,7 +240,7 @@ sys_auth_allowed_user(struct passwd *pw, Buffer *loginmsg) | |||
240 | 240 | ||
241 | /* | 241 | /* |
242 | * Don't perform checks for root account (PermitRootLogin controls | 242 | * Don't perform checks for root account (PermitRootLogin controls |
243 | * logins via * ssh) or if running as non-root user (since | 243 | * logins via ssh) or if running as non-root user (since |
244 | * loginrestrictions will always fail due to insufficient privilege). | 244 | * loginrestrictions will always fail due to insufficient privilege). |
245 | */ | 245 | */ |
246 | if (pw->pw_uid == 0 || geteuid() != 0) { | 246 | if (pw->pw_uid == 0 || geteuid() != 0) { |