1
vote
1answer
565 views

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 ...
0
votes
2answers
1k views

sudoers file RHEL5

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 :)