- (dtucker) [openbsd-compat/port-aix.c] Comment typo.

This commit is contained in:
Darren Tucker 2007-08-09 14:29:47 +10:00
parent b3ce9fec30
commit 863cfa0e6f
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20070809
- (dtucker) [openbsd-compat/port-aix.c] Comment typo.
20070808 20070808
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync
- ray@cvs.openbsd.org 2007/07/12 05:48:05 - ray@cvs.openbsd.org 2007/07/12 05:48:05
@ -3135,4 +3138,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4718 2007/08/08 04:32:41 djm Exp $ $Id: ChangeLog,v 1.4719 2007/08/09 04:29:47 dtucker Exp $

View File

@ -240,7 +240,7 @@ sys_auth_allowed_user(struct passwd *pw, Buffer *loginmsg)
/* /*
* Don't perform checks for root account (PermitRootLogin controls * Don't perform checks for root account (PermitRootLogin controls
* logins via * ssh) or if running as non-root user (since * logins via ssh) or if running as non-root user (since
* loginrestrictions will always fail due to insufficient privilege). * loginrestrictions will always fail due to insufficient privilege).
*/ */
if (pw->pw_uid == 0 || geteuid() != 0) { if (pw->pw_uid == 0 || geteuid() != 0) {