Login takes a very long time
Hi !
Got the following problem: I use the software "terminalemulation" to connect a Windows XP-PC to a Red Hat Linux-PC (7.x / Enterprise 3). With some PCs it is very fast, but with other ones, it takes a very long time, till I can enter the password (user is given from the terminalemulation). From other Linux PCs it's done in a normal time. I assume that I have to change something within /etc/pam.d/rlogin ?
This is my /etc/pam.d/rlogin:
#%PAM-1.0
# For root login to succeed here with pam_securetty, "rlogin" must be
# listed in /etc/securetty.
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_rhosts_auth.so
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
This is what I get from /var/log/messages when logging in from a Windows PC (10.0.10.244 is my Windows PC):
Mar 21 10:46:04 ts-linux login(pam_unix)[6807]: session closed for user root
Mar 21 10:46:40 ts-linux pam_rhosts_auth[6882]: denied to @10.0.10.244 as root: access not allowed
Mar 21 10:46:42 ts-linux login(pam_unix)[6883]: session opened for user root by (uid=0)
Mar 21 10:46:42 ts-linux login -- root[6883]: ROOT LOGIN ON pts/0 FROM 10.0.10.244
How must I configure the system ? Yes, I know that rlogin is obsolete, please no such hints...
|