LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-31-2004, 02:45 AM   #1
rhawi
Member
 
Registered: May 2004
Location: Brazil, Recife
Distribution: SuSE 9.0
Posts: 32

Rep: Reputation: 15
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
 
Old 05-31-2004, 02:48 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
Old 06-03-2004, 07:24 PM   #3
rhawi
Member
 
Registered: May 2004
Location: Brazil, Recife
Distribution: SuSE 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
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...
 
Old 09-26-2004, 05:15 AM   #4
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
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.
 
  


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
kdesu not working nykysle Linux - Distributions 2 11-22-2005 03:29 AM
KDEInit could not launch 'kdesu'. sirscott Linux - General 0 08-10-2005 01:22 AM
Kubuntu + using kdesu kcontrol networking Genjix Linux - Networking 4 07-07-2005 09:52 AM
kdesu - su not in path, console/terminal doesn't work. Monster_user Debian 1 06-09-2005 11:46 PM


All times are GMT -5. The time now is 09:35 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration