I've installed sudo on proxmox hardware node. Now i'm getting error messages when trying to use it.
Meanwhile the next command is perfectly working.
I understand that this is a $PATH issue. Trying to troubleshoot more:
The same output on regular Debian installation. Checked ~/.bashrc, /root/.bashrc, /etc/bash.bashrc files on both systems, they are all the same. What can i check else?
Code:
$ sudo ifconfig
sudo: ifconfig: command not found
Code:
$ sudo /sbin/ifconfig
Code:
$ env | grep PATH
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
$ sudo env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin