if you don't want to use sudo $(which autorecon)
yellephen opened this issue · comments
yellephen commented
If you want to be able to just type sudo autorecon <ip address>
In your terminal, type which autorecon
and copy the output.
Then type sudo visudo
Where it says secure path, add a colon on the end inside the quotes then paste th output of the which autorecon
.
This adds the autorecon directory to the sudo path.
should look something like this
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/kali/.local/bin/"