cannot edit the sudoers file
torfinn.ingolfsen at broadpark.no
Sat Apr 5 16:56:47 UTC 2008
On Sat, 05 Apr 2008 10:35:50 +0200
Aijaz Baig <aijaz.abaig at gmail.com> wrote:
> I am not able to edit the sudoers file even though I do have sudo
> installed on the box. Theres been some confusion in my mind regarding
> what actually happened when I tried to install sudo.
> I did a *make install visudo* in the /usr/ports/securoty/sudo and I
'make install' is correct; I don't know if anything bad happens if you
add 'visudo' to the end of that line.
However, you can always do 'make deinstall' followed by 'make
reinstall' if you want to make sure that your port is installed
To see which files are installed by the sudo port, do 'pkg_info -L
sudo-126.96.36.199' (or whatever version of the port you have installed).
One one of my boxes it gives this:
root at kg-vm# pkg_info -L sudo-188.8.131.52
Information for sudo-184.108.40.206:
root at kg-vm#
As you can see, the port installs the visudo binary also.
> Now what is happening is that I can issue the sudo and the sudoedit
> commands from the terminal as they are in my path. However I still do
> not understand where to fetch the visudo wrapper from? Is it some
It is installed by the port.
More information about the freebsd-sparc64