How to give Sudo permission to an existing user?

General support questions
Post Reply
Iqbal
Posts: 6
Joined: 2019/10/09 20:46:11

How to give Sudo permission to an existing user?

Post by Iqbal » 2019/11/04 15:06:52

Hello,
I want to create Sudo excess to an existing user. I found some links where it shows that adding new sudo user but not an existing user.

Would you please help me on that?

Thanks in advance

User avatar
TrevorH
Forum Moderator
Posts: 26955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to give Sudo permission to an existing user?

Post by TrevorH » 2019/11/04 15:23:15

Add the user to group wheel then have them log back in again. That gives them full access to do anything so only if you really trust them!
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Iqbal
Posts: 6
Joined: 2019/10/09 20:46:11

Re: How to give Sudo permission to an existing user?

Post by Iqbal » 2019/11/04 15:34:45

Thank you so much!

Post Reply

Return to “CentOS 7 - General Support”