LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2004, 05:46 AM   #1
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
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?
 
Old 04-01-2004, 05:50 AM   #2
Nuk
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: Debian, Gentoo, Ubuntu
Posts: 10

Rep: Reputation: 0
Hi,
open a console, su to root and then run the program from there instead of the menu?
Nuk
 
Old 04-01-2004, 09:06 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
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.
 
Old 04-01-2004, 09:26 AM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Original Poster
Rep: Reputation: 31
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.
 
Old 04-01-2004, 09:40 AM   #5
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
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>

Last edited by frandalla; 04-01-2004 at 09:41 AM.
 
Old 04-01-2004, 11:41 AM   #6
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

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


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI generator for command line programs? pandasuit Linux - Software 5 01-16-2011 05:55 PM
Can't run gui (X) programs as root user nazdrowie Linux - General 25 12-02-2008 02:24 AM
Installing gui programs (any distro I guess) ch424 Linux - Software 2 10-03-2004 11:18 AM
Wrinting GUI programs for Linux and Windows J0nathan Programming 13 02-14-2004 01:07 PM
running remote gui programs w/ X steyr Slackware 7 01-11-2004 08:11 PM


All times are GMT -5. The time now is 02:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration