LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-05-2003, 05:38 PM   #1
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Rep: Reputation: 30
Changing back to normal user


I log into Redhat using the text based (init 3 I think). I have to become su to

/sbin/modprobe NVdriver

install the drivers. And then I aumix to install the sound drivers. My question is how to go back to being a normal user? I dont think being a normal user will allow me to startx, because I loaded the drivers as su. If I startx as su then I wont be able to return to normal user while useing the front end. Any way around this?
 
Old 04-05-2003, 05:46 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
After su'ing and installing the drivers you can simply type:

exit

to go back to a normal user. You should then be able to 'startx' because when you add new drivers as root it is system wide and will be available for all users.
 
Old 04-05-2003, 05:52 PM   #3
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
I dont think being a normal user will allow me to startx, because I loaded the drivers as su.
Not true. You need root permissions to install the drivers, but there should be no problems running 'startx' as normal user. As Crashed_Again mentioned, after you are done with 'su', you can simply 'exit' to return to the previous user.
 
Old 04-05-2003, 06:23 PM   #4
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Well I aumix as normal user. Then /sbin/insmod as su. Then exit. And finally startx as normal user.

When the front end tries to load I get:

Sound Server fatal error:

/tmp/mocop-psyklops is not owned by user.


Any ideas?
 
Old 04-05-2003, 06:26 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Not sure exactly what /tmp/pocop-psyklops is but you could change ownership on the file to your username:

chown user /tmp/pocop-psyklops

replacing 'user' with your username of course.
 
Old 04-05-2003, 06:31 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
replacing 'user' with your username of course.
ehh....maybe that's a little extreme. First of all, this is in /tmp, so it will be recreated after you restart your computer (so you will have to change it everytime. i recommend finding the script/program that is creating this /tmp file. At the least, for a simple fix, if you're going to chown the file, dont change the user (I assume its root right now). Instead, change the group to something you belong to.

btw, does startx work if you dont aumix as root?
 
Old 04-05-2003, 06:35 PM   #7
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
umm...what is the output for:
ls -l /tmp/pocop-psyklops

I'm thinking that maybe it belongs to a group like sound or something...maybe the fix is to add yourself to it.
 
Old 04-05-2003, 06:38 PM   #8
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Psyklops is my user name though.
 
Old 04-05-2003, 06:45 PM   #9
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
well, did you check the file by "ls -l ..." for its permissions?
 
  


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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
ldconfig back to normal/ causes problems with cedega brainlesspinkey Linux - Software 4 12-12-2004 03:15 PM
Fluxbox back to normal in Sid. yay! macondo Debian 0 07-31-2004 07:40 PM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
Changing from text to GUI in normal user mode rcmadhu Linux - Newbie 1 11-30-2003 03:05 PM

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

All times are GMT -5. The time now is 03:15 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
Open Source Consulting | Domain Registration