LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 06-25-2004, 10:11 AM   #1
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
Unable to login using non-root account


Hi all!

I just installed the lastest version of the Alsa drivers for my Knoppix HD install system (v. 3.3) and now I am unable to login using any non-root account that I have.

When logging on as the default Knoppix user and entering in my password, the screen goes black then returns to the login screen.

I tried creating a new user account with the same group memberships, but I get the same results.

As far as the steps I used to install the Alsa drivers, I used the steps at the following link.

The only thing I can think of that might have made any kind of difference is the following command:

Code:
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
I built the drivers and libs using my knoppix account while su'd into root.

If anyone has any advice, or needs additional info on how to resolve this issue, please let me know.

Thanks for your time!

sax
 
Old 06-25-2004, 12:15 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
It would appear that the X server refuses to start when run as a non root user. Try going into console mode (runlevel 3 i.e. "telinit 3") and try running startx manually as both a root and non-root user. The error messages displayed should tell you more about what the actual problem is.
 
Old 06-25-2004, 04:14 PM   #3
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks for the reply nhs!

When I switch to the non-x environment and login as a non-root users and issue the startx command, I get the following error message:

Quote:

xauth: creating nw authority file /home/%username%/.Xauthortiy
/user/X11R6/startx: line 133: cannot create temp file for here document: No space left on device.

xauth: creating nw authority file /home/%username%/.Xauthortiy
/user/X11R6/startx: line 133: cannot create temp file for here document: No space left on device.

Fatal server error:

Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again.

xauth: creating new authority file /home/%username%/.Xauthority
If you or anyone else has any idea how to fix this, please let me know.

Thanks!

sax
 
Old 06-25-2004, 04:50 PM   #4
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
This is claiming two things. Firstly it says the partition with /home on it is full. Check this with "df -h". The server also claims that it is already running. Check the output of "ps -A" and look for anything which looks like the X server. If it isn't running (as I suspect) then just delete /tmp/.X0-lock and see whether that makes any difference. As the problem goes away when you log in as root you may also want to check the permissions of /tmp (should be 1777 i.e. read-write-executable by all and sticky bit set).

My personal hunch is that the lack of disk space is the real problem as root's .Xauthority file doesn't live in /home (rather in /root) and as such won't be affected by the space remaining in /home (assuming of course that /home is on a separate partition). Otherwise the root X server may have failed to delete the .X0-lock file at some time thereby preventing the X server from overwriting is except when run as root.
 
Old 06-28-2004, 08:58 AM   #5
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Original Poster
Rep: Reputation: 15
Thanks nhs!

You were right that the issue was due to the disk being full. I am doing some test of other distros right now and am taking another run at Gentoo to see if I can get it to work.

I appreciate your time and thank you for the reply!

Take care!

sax
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 06:41 PM
Auto-login (root account) sammykrupa Linux - Newbie 3 07-30-2005 11:27 PM
unable to open apps when 'su'ing to root from user account ganja_guru Linux - Software 3 06-03-2005 10:51 AM
root account cann't login ringerxyz Linux - Newbie 7 02-02-2005 06:53 PM
can't login into root account eye Red Hat 5 11-21-2003 08:30 PM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration