I have Ubuntu 8.10 running on my HP Proliant. I have created a user with name "tux" during the installation.Whenever I need to perform any action I just provide :
$ sudo /etc/init.d/networking restart
This ask me for password and it goes fine.
Now I have created a user called joe. Now when i perform any operation it says:
$ sudo fdisk -l
[sudo] password for joe:
joe is not in the sudoers file. This incident will be reported.
Now I know that we need make entry for joe in sudoers. I cant give him root permission as:
I cant write :
joe ALL=(ALL) ALL
I have been using Red Hat for long time. Just want to know what exact entry I should make for this user if I want to give him specific permission.