LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   visudo: command not fund....how can I find it? (https://www.linuxquestions.org/questions/linux-newbie-8/visudo-command-not-fund-how-can-i-find-it-168885/)

mfries 04-11-2004 05:09 PM

visudo: command not fund....how can I find it?
 
I am using Fedora, core 1.

While trying to install eclipse, following the directions at http://fedoranews.org/contributors/y...lipse/02.shtml

I got to a point where, as a user, I should enter:
sudo mv eclipse-SDK-3.0M6-linux-gtk.zip /usr/local

To which I was asked for my password. I entered my user passwoard (as the man page said I should do) and received the following message:

mfries is not in the sudoers file. This incident will be reported.

So, I used su to log on as root, and tried to edit the sudoers file, as described in the man pages. However, when I typed in visudo, I was returned the message below.

[root@172 etc]# visudo
bash: visudo: command not found

My sudoers file does exist in /etc, but it says I can't edit it unless I use the command visudo.

So, how do I get bash to find visudo?

Thanks,
Mike

AutOPSY 04-11-2004 05:49 PM

whereis visudo

use that command.

mfries 04-11-2004 07:34 PM

Thanks! Worked Well!


All times are GMT -5. The time now is 08:25 AM.