Results 1 to 4 of 4

Thread: bash visudo command not found

  1. #1
    Join Date
    Nov 2009
    Posts
    57

    bash visudo command not found

    Hi Expertise of the Linux operating system, here is one question for you people which is the problem of my Linux Operating system.

    Every time my terminal show the message that
    bash: visudo : command not found

    Is this message will affect my system or its nothing to do with my system i am little worried about this message.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,026

    Re: bash visudo command not found

    ListenYou have to get the super user access by typing "su" to log in as root and to inherit the root path you have to use "-" with "su" command i.e. "su -".
    visudo was in /usr/sbin which is not in the typical path in order to access the visudo command. Most distributions do not put the */sbin directories in a normal users path, so if you want to run commands in these directories, use the full path name or switch to root using "su -" and not just "su".

    enjoy........

  3. #3
    Join Date
    Apr 2008
    Posts
    3,267

    Re: bash visudo command not found

    Hello,

    Try this out

    You have to be in root so try to log in as root and enter the visudo command.
    This will help you to enable to add your main user to the sudoers file and don't add it yourself by hand, use the visudo command.

  4. #4
    Join Date
    May 2008
    Posts
    2,680

    Re: bash visudo command not found

    Hi,

    If you are getting problem with the 'visudo' command is not found, you will have to install sudo as VPS images:

    Code:
    aptitude install sudo
    After your installation is over try the 'visudo' command again. Now you will not face the same problem again.

    Bye.........

Similar Threads

  1. Error shows bash: ns: command not found using ns-2.31
    By brynhildur in forum Operating Systems
    Replies: 3
    Last Post: 12-11-2010, 01:18 PM
  2. Bash command to delete entire Files from folder
    By Strangers in forum Windows Software
    Replies: 4
    Last Post: 11-11-2010, 09:30 PM
  3. Linux bash script with the command w
    By Trini Alvarado in forum Operating Systems
    Replies: 4
    Last Post: 22-03-2010, 12:11 PM
  4. bash : ipconfig command not found
    By UbuntU-ME in forum Operating Systems
    Replies: 3
    Last Post: 11-08-2009, 07:16 PM
  5. shutdown command not found
    By Saaz in forum Operating Systems
    Replies: 3
    Last Post: 03-07-2009, 11:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,482,367.75128 seconds with 17 queries