
TECH TIPS
Part 4: Disable trusted host relationships and create a warning banner
Gary Smith 10.15.2002
Rating: --- (out of 5)




|
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
To continue reading for free, register below or login
To read more you must become a member of SearchSecurity.com

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.
 |

|
Rate this Tip
|
To rate tips, you must be a member of SearchSecurity.com. Register now
to start rating these tips. Log in if you are already a member.
|


');
// -->
DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.
|
 |
|
|
 |
|
 |