Hello All,

Im using OpenSSH 4.2p1. Suppose I disable non-root logins to my system
through /etc/nologin file, SSH writes an entry for the non-root user in wtmp
file. This is because the writing in wtmp file happens in parent process
where checking of nologin file happens in the child one. I like to know
whether we should put an entry in wtmp file for such denied logins.

Any comments will be helpful.

Senthil Kumar.

openssh-unix-dev mailing list