Re: Machine not locked-up but can't log on either



On Thu, May 04, 2006 at 01:15:17PM -0400, Ryan Golhar wrote:
Yes, I do use LDAP authentication (but the root user is a local user).

I'm also limiting who is allow to connect through ssh via
/etc/hosts.allow. I'm restricting it to the ISPs of our users. I
suppose its possible someone is trying to gain access from one of those
ISPs, but the logs of the other machines only show an occassional failed
login attempt. Would the ssh login attempts also prevent me from
logging in from the console?

Ryan


Probably. LDAP has a nasty habit of taking a really long time to time out
on things to even give your local user account a chance to authenticate.
Probably DNS lookup is timing out and then either the LDAP bind process
tries to time out or gets hung. In the end, the local authentication never
even gets a chance to run.

I know there have been some decent posts on tweaking the timeouts and/or PAM
to behave better in this situation... but it's also one of the reasons I
changed my CTRL-ALT-DEL key to disable LDAP so I could get into a server in
this state.

Doesn't work so well for a remote box though. :)

Ray

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Trouble with nss|pam|openldap
    ... It appears as though the system is using ldap, but I can't seem to ssh in as an LDAP user. ... # id testuser seems to work, ... objectClass: person ...
    (freebsd-questions)
  • Re: ssh+ldap+freebsd5.2 problem
    ... I can not SSH using my LDAP account ... Have any body manage to configure ssh with openldap on ... Download Messenger Now ...
    (freebsd-questions)
  • Re: [SLE] Remotely managing a friends computer
    ... >> except that our ISPs are different. ... Is it easy to setup our systems so I can ssh to her ... email every 6 hours from the remote machine to myself. ... Then I used ssh to do most of the admin work. ...
    (SuSE)
  • RE: ssh alternatives
    ... I determined that my user base only ... gets remote access in from several ISPs, so I allow those ISP in through ... I still keep an eye on the ssh logs for any attempts through those ISPs ...
    (RedHat)
  • Re: SSH and LDAP (how to get it to work)
    ... > Can someone please explain how to implement SSH and LDAP together. ... LDAP server: ... A useful tool to debug your server is snoop ...
    (comp.unix.solaris)