Disable Trusted Host Relationships
The use of .rhosts and /etc/host.equiv files permit users at remote machines to log in without providing a password.
With Solaris 2.6, editing the PAM configuration policy file, pam.conf, to force users to provide a password even when a trust relationship has been defined using .rhosts or /etc/hosts.equiv. To do this, comment out the following lines in /etc/pam.conf:
rloginauth sufficient /usr/lib/security/pam_rhosts_auth.so.1
rloginauth required /usr/lib/security/pam_unix.so.1
rshauth required /usr/lib/security/pam_rhosts_auth.so.1
Create a Warning Banner
Create the file /etc/issue with something similar to this as its contents:
This system is a restricted access system. All activity on this system is subject to monitoring. If information collected reveals possible criminal activity or activity that exceeds privileges, evidence of such activity may be provided to the relevant authorities for further action. By continuing past this point, you expressly consent to this monitoring.
This block of text will be displayed at the login prompt.
Click here for the rest of this 12-part tip.