ifconfig command access for sudo
I am trying to implement the sudo on the server.
Currently what i did is as follow.
Made a group = operation
added a user to the group = abcd
in the sudo file i have made the following entry
abcd, %operation ALL= NOPASSWD: /sbin/, /usr/sbin/, /bin , /usr/bin
Now if i login to the server as a abcd user. Then i am using the following command to know the ipaddress of the machine.
and i get the following out.
sudo: ifconfig: command not found
Pls let me know how to configure the sudo file so that the abcd user can use the ifconfig command.