LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can only log in as root (https://www.linuxquestions.org/questions/linux-general-1/can-only-log-in-as-root-89943/)

Spaceboy 09-06-2003 02:23 PM

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

Hangdog42 09-06-2003 02:31 PM

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.

Spaceboy 09-06-2003 03:11 PM

Thanks. Didn't make any difference though.

unSpawn 09-06-2003 03:38 PM

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?

darthtux 09-06-2003 04:02 PM

What are the steps your doing to try and add users?

Spaceboy 09-06-2003 04:28 PM

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.

suqu 09-08-2003 03:52 AM

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.


All times are GMT -5. The time now is 04:47 PM.