LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2006, 04:20 AM   #1
Jensens
LQ Newbie
 
Registered: Feb 2006
Location: Germany
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
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...
 
Old 03-22-2006, 05:12 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Check /etc/hosts.deny

Usually clear text mechanisms have root and other system users denied..
 
Old 03-23-2006, 03:24 AM   #3
jeanpd001
LQ Newbie
 
Registered: Aug 2004
Distribution: Redhat/Suse/Enterprise versions
Posts: 7

Rep: Reputation: 0
Also have a look at your /etc/hosts file entries. Make sure you have all Machines on your network entered in all the hosts files.

In windows, just seach for hosts or lmhosts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH : Takes a long time to login to a remote server TomCruise2002 Linux - Networking 8 12-04-2011 01:01 PM
SSH : Takes a long time to login to a remote server TomCruise2002 Linux - Enterprise 1 12-16-2005 06:58 PM
it takes long time to boot into mandrake Rex_chaos Mandriva 6 06-02-2005 11:00 PM
login takes long time doorman007 Linux - Software 2 04-25-2005 12:56 AM
Bzipping takes a really long time sometimes scott_R General 0 10-10-2004 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration