last command shows entries for denied logins

Senthil Kumar senthilkumar_sen at hotpop.com
Sat Nov 5 20:37:50 EST 2005


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.

Thanks,
Senthil Kumar. 





More information about the openssh-unix-dev mailing list