Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-08-2005, 10:11 AM   #1
Registered: Oct 2005
Distribution: Suse 10
Posts: 35

Rep: Reputation: 15
Execute shortcut as Root Command? *Nevermind


I was wondering if there is some tag you can put in the Command field of a shortcut to execute that application as root user. I'm asking because my codeweavers apps only seem to work when I'm logged in as root, so I figured it's worth a shot, just don't know the command!



Last edited by batorma; 11-08-2005 at 10:31 AM.
Old 11-08-2005, 12:54 PM   #2
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
If i read that right you can use something called sudo, it's a way to allow a user to run commands with root priveledges.

"man sudo" will help

and just noticed your edit i guess you wanted it from the KDE GUI menu, well sudo can still apply, you could just change the shortcut to read sudo "command" after editing sudoers file.
Old 11-08-2005, 02:22 PM   #3
LQ Newbie
Registered: Nov 2005
Location: Amsterdam, Netherlands
Distribution: Mandriva cooker
Posts: 22

Rep: Reputation: 15
su -c 'echo example'
then again; you have to type in the password every time...
sudo might be a better solution after all.. ^^

edit>> woops didnt read your edit.


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
g++ command shortcut? m_lp_ql_m Linux - Software 5 02-17-2006 08:42 PM
remote command execute telnet with 1 command MPowers Linux - Networking 2 06-30-2005 06:31 AM
boot script execute command as non-root user wampfler Linux - Security 7 09-24-2004 04:56 AM
execute/shortcut kfrancisco Linux - Software 5 09-28-2003 02:30 PM
KDE3 execute command on keyboard shortcut hamsterdude Linux - General 10 07-21-2003 02:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration