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 08-28-2009, 03:26 PM   #1
deemacsee
LQ Newbie
 
Registered: Jun 2004
Location: Oxfordshire, England
Distribution: OpenSuSE 10.2
Posts: 13

Rep: Reputation: 0
OpenSuSE 10.3 won't login.


Hello,

I'm running Open SUSE 10.3 and recently I've found I can't login - after username and password entry the screen blacks out for a couple of seconds and returns to the login screen. I can still login as root. I haven't made any changes to the system lately; a couple of months ago my wifes' login failed in the same manner although mine worked as usual - we got round that with a reboot, but now neither of us can login and it seems to have happened spontaneously. I tried setting a user to automatically login, and that does work however. Booting to failsafe mode and attempting to login brings up a recurring "/dev/null/permission denied" message.

Any help would be much appreciated, thanks.
 
Old 08-28-2009, 03:39 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Log in as root and run "ls -l /dev/null" if it isn't something like:

crw-rw-rw- 1 root root 1, 3 2009-08-27 10:41 /dev/null

Then run:

Code:
# rm -rf /dev/null
# mknod /dev/null c 1 3
# chmod 666 /dev/null
HTH

Forrest
 
Old 08-28-2009, 05:56 PM   #3
deemacsee
LQ Newbie
 
Registered: Jun 2004
Location: Oxfordshire, England
Distribution: OpenSuSE 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
Okay, did that. It came back with

-rw-r--r-- 1 root root 0 Aug 28 23:50 /dev/null

I'm afraid I'm a bit of a biff at the command line. Now what?
 
Old 08-29-2009, 09:14 AM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
You ran the other three commands and it still is rw-r--r--?

Forrest
 
Old 08-29-2009, 04:29 PM   #5
deemacsee
LQ Newbie
 
Registered: Jun 2004
Location: Oxfordshire, England
Distribution: OpenSuSE 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
I ran the first command, and that gave the response I posted. After running the three other commands and trying the first command again it came back with

crw-rw-rw- 1 root root 1,

then the date. Login was then successful as a user, but only until shutting down. After starting up again the original problem had returned.
 
  


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
[SOLVED] Change Login Screen on OpenSUSE 11.1 maglev SUSE / openSUSE 2 06-28-2009 09:36 PM
OpenSUse 11.1 KDE: No login lfjhn SUSE / openSUSE 3 03-07-2009 03:38 PM
Login users - OpenSuse 10.3 whschimmel Linux - Software 2 05-23-2008 11:56 AM
Cannot Login as User OpenSuSE 10.2 Jakman85 Linux - Software 9 05-08-2008 01:28 PM
No accounts to login to after OpenSuse 10.1 install astromac SUSE / openSUSE 1 11-12-2006 04:08 AM

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

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