Subject: login and login.conf
To: None <tech-security@netbsd.org, tech-userlevel@netbsd.org,>
From: Scott Aaron Bamford <sab@zeekuschrist.com>
List: tech-userlevel
Date: 03/10/2000 16:56:21
this is a resend. sorrie if it apears twice.
line 454 and 455 in login.c read:
if (!rootlogin || login_getcapbool(lc, "ignorenologin", 0))
checknologin(login_getcapstr(lc, "nologin", NULL, NULL));
surely this should read
if (!rootlogin && !login_getcapbool(lc, "ignorenologin", 0))
checknologin(login_getcapstr(lc, "nologin", NULL, NULL));
to make the "ignorenologin" cap ignore the /etc/nologin or "nologin" cap
file?
man 5 login.conf:
ignorenologin bool false Not affected by nologin
files.
- Scott
--------------------------------------
sab@zeekuschrist.com | sab@ansic.net