unable to login as root when network is not available

This document (7005150) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 10 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 11


Situation

NIS has been installed and configured
Due to problem with NIC no network is available

Resolution

In /etc/security/limits.conf there are limits configured for groups. This means that every login will be check if there are NIS groups available. This also counts for root. As this takes more then 60 seconds, root login will timeout.

There are 3 possible solutions:
  1. Prevent the network problem. Be sure that the selected NIC driver works before configuring NIS.
  2. In /etc/login.defs change the following parameter:
    LOGIN_TIMEOUT     600
  3. In /etc/pam.d/common-session add the following as the first line:
    session [default=ignore success=1] pam_succeed_if.so quiet uid eq 0

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7005150
  • Creation Date: 14-Jan-2010
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center