Re: /run and read-only /etc
On Mon, 2003-04-07 at 17:58, Marco d'Itri wrote:
> > * pam, shadow
> > Allow either /etc/nologin or /run/nologin to prevent non-root logins
> Use a symlink.
(I forgot to mention) J.W.'s patch does more than what a mere symlink
would do. By making programs sensitive both to /run/nologin and
/etc/nologin, it becomes possible for the administrator to prevent
logins by touching /etc/nologin, and this will not affect or be
affected by what sysvinit does to /run/nologin. Is this a good idea?
Thomas Hood <email@example.com>