when we configure /etc/sudoers file and give a full permissions for a user say sridhar. Now sridhar can run all commands but the drawback is he has to type sudo and give the path of the command to run i.e, for example to run ifconfig command he has to type $sudo /sbin/ifconfig.
Now my doubt is as a normal user i want to execute this command as
$sudo ifconfig now i should get the output.
Now my doubt is that i dont want to give the full path where the command is. similarly i want to run all sudo commands without specifing the full path of the command.
Please can any one help me this issue.
Last edited by sridhar.bodike; 09-28-2010 at 01:37 PM.