LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-22-2005, 06:36 AM   #1
sunnyanthony
LQ Newbie
 
Registered: Jun 2005
Location: India
Posts: 7

Rep: Reputation: 0
Post login problems


When i'm log in to the RHEL 4 box from one tty,
it is not taking any username and password, even root also.
no error is displayed, when i entered username and password again and again it asking me for username and password.

I think this the the problem of nologin file.

Please tell me about nologin file and help me to resolved this issue.

thanks....

Sunny Anthony
 
Old 11-22-2005, 08:33 AM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Re: login problems

quoting the login man:
Quote:
/etc/nologin
If it exists, login is denied to all but root. The contents of this file is
printed before login exits.
So that realy cant be the cause of your problem if root cannot login. Is it possible that your harddrive is full? Thats the single thing that causes the most weird of errors since no pid files, temp files etc etc can be placed normaly.

If this is the case and you cannot log in, I suggest you boot the machine off a livedisk or minidistro and clean out some logfiles etc unneeded files.

Another problem that can cause the symptoms you describe is that the machine has pam installed and /etc/securetty doesnt have the tty:s listed. This will prevent root logins, but as I remember normal users ought to be able to log in.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Screen and Login Photo problems? host Linux - Software 0 02-21-2005 06:56 AM
login problems Xris718 Linux - General 4 12-30-2004 07:52 AM
problems with login _ben_deb_ Debian 3 09-01-2003 08:14 AM
Login problems danr14 Linux - Newbie 10 05-24-2003 11:53 PM
login problems wass29 Linux - Software 2 03-13-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:20 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