LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Really annoying (https://www.linuxquestions.org/questions/linux-general-1/really-annoying-30353/)

Bigun 09-14-2002 10:24 AM

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 :))

Edward78 09-14-2002 01:06 PM

Do it in the Konsole.

Bigun 09-14-2002 02:18 PM

Huh?

sandy 09-14-2002 04:21 PM

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:D

Cichlid 09-14-2002 09:07 PM

If it's for quick little things, open an xterm, type su, then your root password. type exit to quit as root.

MasterC 09-14-2002 11:57 PM

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

Bigun 09-15-2002 05:31 PM

Excellent...thanks!


:D


All times are GMT -5. The time now is 07:35 AM.