LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2006, 06:29 AM   #1
ombatult
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
User login failures


I have a PC which runs DEBIAN Linux. This was created about 6 years ago, not by me.

Recently, USER logins have ceased to work; when you log in (enter login name and password) the screen goes black for a few seconds then the login prompt screen is returned again. This can be repeated indefinitely.

It is still possible to login to ROOT.

I have tried resetting passwords and creating new users but, non of this has fixed the problem.

I'm looking for solutions, ideas, suggestions --- please.
 
Old 02-23-2006, 06:58 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
I bet you have exhausted disk space.
df -lh will show the numbers. Any disk partition near of 100% could be a problem.
In special, /var and / partitions cannot be full, because the system needs space to make logs about a regular user logging into the system.

this is just a long shot, of course.
 
Old 02-23-2006, 07:01 AM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
good point - most file systems reserve some space for root to working.


perhaps /home is at 100% used.
 
Old 02-24-2006, 03:16 AM   #4
ombatult
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you guys. It WAS a 100% full disk. I've recovered 35Mb of space and user login works again.

If you have any suggestions as to what might be safely deleted from the Linux system directories, this would be helpfull also.
 
Old 02-24-2006, 03:26 AM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
well, the 1st thing to go has to be things in user's trash can(s) - including root in /root.

trimming down syslog and other log files (or blanking them). in /var.

purge packages that are being kept by the system after removal (check atp-get man page or web). delete old iso images taht you don't need. remove unsed kernel source in /usr/src.
 
Old 02-24-2006, 03:26 AM   #6
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Wow, you guys are amazing. I could never guess that right just by failed user logins!

I have a LOT to learn...
 
Old 02-24-2006, 03:29 AM   #7
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
also go to / type

"du -x |sort -nr|more"

then you have where all the space is being taken up.


then you can do that in individual directories.

how is your disk partitioned?


well the fact that root can log in gives it a away a bit - file systems reserve some space for root to work in. the fact that normal user's can't log in but root can indicated that you've reached a disk full state. the reason it does this, you've just seen. if root couldnt log in or do anything, you would be in big trouble!

well, could use a live cd - you should always have one around....
 
Old 02-24-2006, 03:36 AM   #8
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by satinet
well the fact that root can log in gives it a away a bit - file systems reserve some space for root to work in. the fact that normal user's can't log in but root can indicated that you've reached a disk full state. the reason it does this, you've just seen. if root couldnt log in or do anything, you would be in big trouble!
My first thought was that they might be using NIS authentication and the computer running as an NIS server was down. I was way off!
 
Old 02-24-2006, 04:00 AM   #9
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
is the machine in a NIS network??
 
Old 02-25-2006, 01:17 AM   #10
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by satinet
is the machine in a NIS network??
I have no idea... that's why I could only suspect it might have been the case.
 
Old 02-25-2006, 04:46 AM   #11
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
type 'ypwhich' as root. that should throw some light...
 
Old 02-25-2006, 10:11 AM   #12
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally Posted by satinet
type 'ypwhich' as root. that should throw some light...
Now that the problem has been solved, I doubt the OP is still reading this thread...
 
  


Reply



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
How we can record the login failures? mahabooba Linux - Security 7 02-08-2006 04:59 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 06:30 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
Samba / XP login failures while tring to access shared files (works with win2k) Zero-0-Effect General 2 01-24-2004 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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