In Red Hat, suppose if root user wishes to give a privilege to run the fdisk command to a user named sam. And he makes appropriate configuration changes in /etc/sudoers file.
Now when sam wishes to run the fdisk command, then he has to issue:
[sam@system43~]$sudo /sbin/fdisk -l
But in ubuntu, after the same configuration being done, what sam needs to do is:
[sam@somesystem43~]$sudo fdisk -l
That means, in ubuntu the user need not type the full path of the command.
I wish to know how can I make red hat system work like ubuntu as far as the sudo usage is concerned.