LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-08-2005, 11:11 AM   #1
batorma
Member
 
Registered: Oct 2005
Distribution: Suse 10
Posts: 35

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


Hi

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!

Thanks!

Matt


Last edited by batorma; 11-08-2005 at 11:31 AM.
 
Old 11-08-2005, 01:54 PM   #2
ethics
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, 03:22 PM   #3
bbbb
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.
 
  


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


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