sudo visudo usermod

How to grant sudo privilege to a given user

There are several ways to grant sudo privilege to a user in linux, two of them are the following

1. Add the user at the sudoers file

In order to grant sudo privilege to a given user in linux with sudo, follow this process

Required data

username = username that we which to grant privilege to

Sample data

username = abernal

Process 

1. As root or as an administrative user execute the next command

Subscribe to RSS - sudo visudo usermod