Wednesday 2 May 2018

ubuntu - Difference between sudo group and sudoers file?

I am creating a user in Ubuntu 14.04 using command adduser.


I want to give it sudo access. For doing this, I am consfused in between two ways.


First way is : If I add that user to sudo group using command usermod -aG sudo.


Second way is : If I edit the sudoers file using command visudo and add a line ALL=(ALL:ALL) ALL.


Please clear the confusion between these two.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...