Is this normal behaviour when I put a user student in sudoers file using visudo command like this :
visudo
student ALL = NOPASSWD: ALL
And he is not in sudo group but can still perform sudo operations ?
So if a user is decribed in sudoers file he doesn't need to be in sudo group ?
It is normal. By default you have in
/etc/sudoers
:So all users from the
sudo
group are allowed to do any operation. Adding a user to this group gives permissions because of this line.You can add a separate user there as well.