LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Should I use sudo or kdesu ? (https://www.linuxquestions.org/questions/linux-newbie-8/should-i-use-sudo-or-kdesu-187884/)

rhawi 05-31-2004 01:45 AM

Should I use sudo or kdesu ?
 
Hello people...

I'm developing an application that use some services that are restrictred configuration for root. But I need to get root access to modify them.
What should I do ? Use sudo or kdesu ? There is something similar for gnome and others ? I think that something just for kde it's a bad choice.

And someone can tell me how sudo works ?

Thanks a lot

trickykid 05-31-2004 01:48 AM

I'd say go with sudo or the like.. something that only works with KDE would be bad if you want the application to work in a non-KDE environment..

sudo is a way to give users root only access without giving root access directly, with root's password, etc.

man sudo for more details.

rhawi 06-03-2004 06:24 PM

I'm trying to do a sudo like this
Code:

sudo -u root iptables [chain]
And then... I receive a message telling "command not found". What should I do ?

Thanks a lot...

fortezza 09-26-2004 04:15 AM

Try "which sudo" at the command prompt to see if the sudo command is in your PATH variable. For FC2, it is "/usr/bin/sudo
" . If it isn't in your path, you can add it to the path, or type out the entire path to the command when you wish to run it.


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