rhosts / PAM authentication
Hi, I want to access a SuSE 7.3 system remotely from another Linux system using NIS. I adjusted the /etc/hosts.equiv to include all machines in the netgroup, but when I do a 'rlogin' to the SuSE 7.3 I get a question for a password. If I look in the syslog I see that PAM denies access to the user. I want to be able to do a 'rlogin' to this machine WITHOUT giving passwords.... I configured 'hosts.equiv' but wat must I do to configure PAM this way? Met vriendelijke groet, Harry ten Berge Test Engineer Holland Institute of Traffic Technology HITT B.V. P.O. box 717 Apeldoorn email :berge@hitt.nl <http://www.hitt.nl> tel : +31 555432537 fax : +31 555432554
On Wed, Mar 06, 2002 at 10:30:41AM +0100, Berge, Harry ten wrote:
Hi,
I want to access a SuSE 7.3 system remotely from another Linux system using NIS. I adjusted the /etc/hosts.equiv to include all machines in the netgroup, but when I do a 'rlogin' to the SuSE 7.3 I get a question for a password. If I look in the syslog I see that PAM denies access to the user.
I want to be able to do a 'rlogin' to this machine WITHOUT giving passwords.... I configured 'hosts.equiv' but wat must I do to configure PAM this way?
The file you want to look at is /etc/pam.d/rlogin. It contains the PAM rules for rlogin. However, it is usually considered weak security to use rlogin in any situation. The ssh package can provide the same function as well as logins without passwords using public key pairs. I log into all my servers this way. Best Regards, Keith -- LPIC-2, MCSE, N+ wielder of vi(m), an ancient, dangerous and powerful magic Don't get lost, show no fear, and you'll be ready for a new frontier -- d.w.
participants (2)
-
Berge, Harry ten
-
Keith Winston