W dniu 03.10.2012 18:36, Antonio Terceiro pisze:
davi@gnu.org escreveu:
I am using Ubuntu Precise, but the server one, not the desktop one. Maybe that is the cause.
On this Ubuntu Precise (server), the ifconfig command is at /sbin/ifconfig
I though adding "sudo" would help in my case, and at the same time would not harm on the usual Ubuntu desktop case.
Also note sudo if already being used on other parts of that script.
For some reason in my development machine /sbin is the the PATH, even for the non-root user. But when I created a fresh user with `adduser`, then that new user does not have /sbin in $PATH. Weird - I did some investigation, but didn't find out why.
The user that installs the system gains more permissions (like being in sudoers and in the adm group). I suspect that it's related.
ZK