Linux: Give user root privilege in /etc/sudoers

Linux is a very secure system… Almost everything that involves changes will need you to be a root user.

If you do not escalate yourself to be root user you will see this error:

[cyrus@cyruslab ~]$ sudo minicom
[sudo] password for cyrus:
cyrus is not in the sudoers file.  This incident will be reported.

An email will be sent to the admin…;) cool eh?


Add my account into sudoers to enjoy the same privilege as root user

[root@cyruslab ~]# gedit /etc/sudoers

gedit is a gui text editor, some people use vi which is a text-based text editor, vi is very difficult to use!!


I have highlighted the portion that i was adding.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s