LinuxQuestions.org
Help answer threads with 0 replies.
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 09-06-2003, 03:23 PM   #1
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Can only log in as root


I can only seem to log in as root at the moment. If I try adding a user and logging in as that user, I just get a blank screen and have to press ctrl+alt+backspace to get back to GDM. Any idea what the problem is?

My log file shows the following:

/usr/X11/lib/X11/xinit/xinitrc line 63: /dev/null: Permission denied
/usr/X11/lib/X11/xinit/xinitrc line 1: /dev/null: Permission denied
/usr/bin/X11/startx: line 151: /dev/null/: Permission denied


Permissions on /dev/null are as follow:
crw-rw-rw- 1 root root 1, 3 Aug 24 13:57 /dev/null
 
Old 09-06-2003, 03:31 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
At least on my system, the group of /dev/null is sys

crw-rw-rw- 1 root sys 1, 3 Jul 17 1994 /dev/null

Maybe chage the group to sys and see what happens.
 
Old 09-06-2003, 04:11 PM   #3
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks. Didn't make any difference though.
 
Old 09-06-2003, 04:38 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Sys chownage only works tho if you got a user group called "sys".
If you don't chown it back.
- What's your distro and release?
- What's the last changes you made installing/uninstalling stuff?
- Is this the only device you got probs with?
- Does dmesg/do the system logs show errors, or messages you "normally" don't get on boot?
 
Old 09-06-2003, 05:02 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
What are the steps your doing to try and add users?
 
Old 09-06-2003, 05:28 PM   #6
Spaceboy
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by unSpawn
Sys chownage only works tho if you got a user group called "sys".
If you don't chown it back.
- What's your distro and release?
- What's the last changes you made installing/uninstalling stuff?
- Is this the only device you got probs with?
- Does dmesg/do the system logs show errors, or messages you "normally" don't get on boot?
Libranet 2.8.
It's the only device I have problems with.
Dmseg and system logs don't show anything different to a usual boot.
 
Old 09-08-2003, 04:52 AM   #7
suqu
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
Check that the new users you created have home directories. I couldn't log on as anyone but root because of this - see my posts in the newbie forum.
 
  


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
Cannot log into root! Nox_hand Linux - Security 3 09-21-2005 02:01 AM
How do I log in as the root? nighthawk15 Linux - Newbie 7 03-01-2005 06:21 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 05:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-05-2004 12:01 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM

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

All times are GMT -5. The time now is 01:16 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration