Installed sudo, but no visudo command available

Hi,

I am new to FreeBSD coming from Debian. I installed sudo from ports, and although the manpage for visudo is installed I cannot run visudo to edit the sudoers file.

Is there anything that I missed in the installation process?

Thanks for your insights :e
 
Newly installed applications are not runnable until you either:
  • re-hash the shell's PATH, using rehash for [t]csh, or hash -r for sh/zsh/bash, or
  • logout, and login again
 
handbook:

Code:
Note: Some shells keep a cache of the commands that are available in the directories listed in the PATH 
environment variable, to speed up lookup operations for the executable file of these commands. If you are 
using one of these shells, you might have to use the rehash command after installing a port, before the 
newly installed commands can be used. This command will work for shells like tcsh. Use the hash -r command 
for shells like sh. Look at the documentation for your shell for more information.
 
Indeed. Does my question often come up? Maybe it needs to stand out more, people might not notice it like I did?
 
Back
Top