Including or not a "pam_nologin" stanza in /etc/pam.d/rlogin has no effect: rlogin will succeed (provided of course proper entries in $HOME/.rhosts file) even if the file /etc/nologin exists.
This issue has been forwarded to a developer for further action.
depends where you put that pam_nologin module and how you configure it. You need to put the pam_nologin module before pam_rhosts one. This works on my system: auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth sufficient /lib/security/pam_rhosts_auth.so auth required /lib/security/pam_pwdb.so shadow nullok account required /lib/security/pam_pwdb.so password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so shadow nullok use_authtok session required /lib/security/pam_pwdb.so