LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-14-2002, 10:24 AM   #1
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Rep: Reputation: 30
Angry Really annoying


This may be a simple-newbie grade question...but. When I'm logged in as my user I found that I'm constantly having to log in as root for one reason or another. Is there a way to switch users while not losing my session? (more or less I'm getting tired of shutting down XMMS while listening to Nirvana )
 
Old 09-14-2002, 01:06 PM   #2
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Do it in the Konsole.
 
Old 09-14-2002, 02:18 PM   #3
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
Huh?
 
Old 09-14-2002, 04:21 PM   #4
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
Re: Really annoying

Quote:
Originally posted by Bigun
This may be a simple-newbie grade question...but. When I'm logged in as my user I found that I'm constantly having to log in as root for one reason or another. Is there a way to switch users while not losing my session? (more or less I'm getting tired of shutting down XMMS while listening to Nirvana )
try sudo
 
Old 09-14-2002, 09:07 PM   #5
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
If it's for quick little things, open an xterm, type su, then your root password. type exit to quit as root.
 
Old 09-14-2002, 11:57 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by Cichlid
If it's for quick little things, open an xterm, type su, then your root password. type exit to quit as root.
su -
to be more precise, but this will put you in roots home directory, so then you will have to 'cd' to the directory you need to use root to function with.

The - key is used to make root have all paths and such set correctly, in case a program needs this. That's my understanding anyway

Cool
 
Old 09-15-2002, 05:31 PM   #7
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
Excellent...thanks!


 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how annoying php Linux - Distributions 9 01-05-2007 09:42 PM
Very annoying: ^M King4lex Linux - General 4 08-25-2005 08:39 PM
fortunes getting annoying nny0000 Slackware 4 02-25-2004 01:55 PM
very annoying/browser wr3ck3d Linux - Software 7 04-16-2003 05:57 PM
This is so annoying please help... Z28kid Linux - Newbie 8 03-10-2003 03:54 PM


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