{"id":2179,"date":"2018-12-07T15:28:01","date_gmt":"2018-12-07T15:28:01","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2179"},"modified":"2018-12-07T15:28:02","modified_gmt":"2018-12-07T15:28:02","slug":"add-remove-linux-user-to-sudoers","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/add-remove-linux-user-to-sudoers\/","title":{"rendered":"Add\/Remove Linux User to sudoers"},"content":{"rendered":"\n<p><strong>CentOS\/Fedora\/RedHat<\/strong><\/p>\n\n\n\n<p>Add sudo privileges <br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">usermod -a -G wheel LinuxUsername<\/pre>\n\n\n\n<p>remove<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo deluser username wheel<\/pre>\n\n\n\n<p><strong>Ubuntu\/Debian<\/strong><\/p>\n\n\n\n<p>\nAdd sudo privileges <br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">usermod -a -G sudo LinuxUsername<\/pre>\n\n\n\n<p>remove<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo deluser username sudo<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\/Fedora\/RedHat Add sudo privileges usermod -a -G wheel LinuxUsername remove sudo deluser username wheel Ubuntu\/Debian Add sudo privileges usermod -a -G sudo LinuxUsername remove sudo deluser username sudo<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,264,24,3,22,28],"tags":[96,537,17,51,19,7,18,538,535,49,539,536],"class_list":["post-2179","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-debian","category-fedora-2","category-linux","category-redhat-linux","category-ubuntu","tag-adding-users","tag-admin","tag-centos","tag-debian","tag-fedora","tag-linux-2","tag-redhat","tag-rhel","tag-sudo","tag-ubuntu-2","tag-usermod","tag-wheel"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2179"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2179\/revisions"}],"predecessor-version":[{"id":2180,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2179\/revisions\/2180"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}