Normal user can run command on one machine but must be root on another, how do I remove this restriction?
I have two machines. On one, a non-root user can run ethtool and gets output, on the other machine the same user gets sh: ethtool: command not found. If I sudo su - to be root, then ethtool is indeed ...
How do I add the following to the sudoers file in RHEL5? daemon ALL=(ALL) NOPASSWD: /usr/local/bin/php /var/www/batch.php Thanks :)