Visit Jeremy's Blog.
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 04-11-2004, 05:09 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 12

Rep: Reputation: 0
visudo: command not can I find it?

I am using Fedora, core 1.

While trying to install eclipse, following the directions at

I got to a point where, as a user, I should enter:
sudo mv /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?

Old 04-11-2004, 05:49 PM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
whereis visudo

use that command.
Old 04-11-2004, 07:34 PM   #3
LQ Newbie
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks! Worked Well!


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
Does Novell fund in part? mipia LQ Suggestions & Feedback 4 08-22-2005 06:56 PM
visudo and pico crud Slackware 3 03-16-2005 04:51 AM
Xorg "command not fund" comox *BSD 18 01-17-2005 03:57 PM
Need help with visudo powadha Debian 2 12-19-2004 05:04 AM
visudo xviddivxoggmp3 Slackware 7 08-17-2004 08:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:19 PM.

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
Open Source Consulting | Domain Registration