LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   su for gui programs (https://www.linuxquestions.org/questions/linux-newbie-8/su-for-gui-programs-164883/)

jax8 04-01-2004 04:46 AM

su for gui programs
 
is there a way to convert to ROOT user when in a normal user account and then back again.

I know su does this but is there a way that you can use GUI programs as root as well and just general programs from the menu?

Nuk 04-01-2004 04:50 AM

Hi,
open a console, su to root and then run the program from there instead of the menu?
Nuk

XavierP 04-01-2004 08:06 AM

Edit the menu. There should be an option to "run as a different user", type root in to the user name box. Save and close menu. Run program. (nb. this may only apply to KDE)

Or create a shortcut to the program on your menu, making sure the command is su "/path/to/program"

Might be helpful if you told us which programs you are thinking of - there aren't many progs I can think of where you'd need to run as root.

jax8 04-01-2004 08:26 AM

Quote:

Might be helpful if you told us which programs you are thinking of - there aren't many progs I can think of where you'd need to run as root. [/B]
I am running KDE but where is the option of run as different user?

Oh and I just like being able to do things without having to type the root password all the time.

frandalla 04-01-2004 08:40 AM

hey, you have to use kdesu, you type:
kdesu <program name>
then it will ask for the root password and you're done
<EDIT>It will open a graphical window with option of saving the pass</EDIT>

Nis 04-01-2004 10:41 AM

Also check out PAM. It does what you're looking for. It might take a little bit to setup but it's worth it.


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