Hardening Linux
Disable remote root login with securetty
Remote all remote tty from the following file/etc/securetty
console
tty1
tty1
Then enforce pam_securetty
password-auth
auth required pam_securetty.so
Lock account when invalid password is provided
auth required pam_tally2.so deny=5 unlock_time=60 lock_time=300 audit
There are no comments on this page. [Add comment]