Skip to main content
added 159 characters in body
Source Link

how to grant sudo usermod: group 'sudo' does not exist in CentOS?

I want to grant a user sudo access.

I suppose mainly I want to grant privileges to install software, and am not quite sure how to this in CentOS:

https://linuxize.com/post/how-to-add-user-to-sudoers-in-centos/

wheras in Ubuntu the syntax isoption, at least as I recall at least, is:

sudo addusradduser foo sudo

to add user foo to sudo. I'm also curious as to why this isn't available in CentOS -- perhaps it's not fine grained enough?

[nsaunders@rolly ~]$ 
[nsaunders@rolly ~]$ sudo usermod -aG sudo rdegamma
usermod: group 'sudo' does not exist
[nsaunders@rolly ~]$ 

how to grant sudo in CentOS?

I want to grant a user sudo access.

I suppose mainly I want to grant privileges to install software, and am not quite sure how to this in CentOS:

https://linuxize.com/post/how-to-add-user-to-sudoers-in-centos/

wheras in Ubuntu the syntax is, as I recall at least:

sudo addusr foo sudo

to add user foo to sudo. I'm also curious as to why this isn't available in CentOS -- perhaps it's not fine grained enough?

usermod: group 'sudo' does not exist in CentOS

I want to grant a user sudo access.

I suppose mainly I want to grant privileges to install software, and am not quite sure how to this in CentOS:

https://linuxize.com/post/how-to-add-user-to-sudoers-in-centos/

wheras in Ubuntu the option, at least as I recall, is:

sudo adduser foo sudo

to add user foo to sudo. I'm also curious as to why this isn't available in CentOS -- perhaps it's not fine grained enough?

[nsaunders@rolly ~]$ 
[nsaunders@rolly ~]$ sudo usermod -aG sudo rdegamma
usermod: group 'sudo' does not exist
[nsaunders@rolly ~]$ 
Source Link

how to grant sudo in CentOS?

I want to grant a user sudo access.

I suppose mainly I want to grant privileges to install software, and am not quite sure how to this in CentOS:

https://linuxize.com/post/how-to-add-user-to-sudoers-in-centos/

wheras in Ubuntu the syntax is, as I recall at least:

sudo addusr foo sudo

to add user foo to sudo. I'm also curious as to why this isn't available in CentOS -- perhaps it's not fine grained enough?