{"id":6686,"date":"2023-06-07T00:02:08","date_gmt":"2023-06-07T00:02:08","guid":{"rendered":"https:\/\/techclot.com\/index.php\/2023\/06\/07\/linux-how-to-create-a-new-user-with-admin-privileges\/"},"modified":"2023-06-07T00:02:08","modified_gmt":"2023-06-07T00:02:08","slug":"linux-how-to-create-a-new-user-with-admin-privileges","status":"publish","type":"post","link":"https:\/\/techclot.com\/index.php\/2023\/06\/07\/linux-how-to-create-a-new-user-with-admin-privileges\/","title":{"rendered":"Linux: How to create a new user with admin privileges"},"content":{"rendered":"<p><a href=\"https:\/\/www.youtube.com\/watch?v=fDHHKR0nVQg\">Linux: How to create a new user with admin privileges<\/a><br \/>\n\t\t\t\t\t\t\t\t<iframe width=\"480\" height=\"320\" data-src=\"https:\/\/www.youtube.com\/embed\/fDHHKR0nVQg?rel=0\" frameborder=\"0\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" data-load-mode=\"1\"><\/iframe>\t\t\t\t\t<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" style=\"float:left;margin:0 5px 5px 0;\" data-src=\"https:\/\/i0.wp.com\/techclot.com\/wp-content\/uploads\/2023\/06\/jMoB39.jpg?w=640&#038;ssl=1\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/>Adding a user with admin privileges on Linux is easier than you think. Jack Wallen shows you how.<\/p>\n<p>For the full step-by-step article, head to https:\/\/www.techrepublic.com\/article\/how-to-create-a-new-user-with-admin-privileges-on-linux\/<\/p>\n<p>List of Commands:<\/p>\n<p>sudo adduser USERNAME<br \/>\nsudo usermod -aG sudo USER<br \/>\nsudo adduser -m USER<br \/>\nsudo passwd USER<br \/>\nsudo passwd &#8211;expire USER<br \/>\nsudo usermod -aG wheel USER<br \/>\nsudo nano \/etc\/group<\/p>\n<p>Video Editor: https:\/\/www.techrepublic.com\/meet-the-team\/us\/mackenzie-burke\/<\/p>\n<p>Watch more How To videos: https:\/\/www.youtube.com\/channel\/UCKyMiy1zmJ7aZ8aP6DLZLIA\/<br \/>\nWatch more TechRepublic videos: https:\/\/www.techrepublic.com\/videos\/<br \/>\nFollow TechRepublic on Twitter: http:\/\/twitter.com\/TechRepublic\/<br \/>\nFollow TechRepublic on Facebook: http:\/\/www.facebook.com\/TechRepublic\/<br \/>\nFollow TechRepublic on Instagram: https:\/\/www.instagram.com\/TechRepublic\/<br \/>\nFollow TechRepublic on LinkedIn: https:\/\/www.linkedin.com\/company\/tech&#8230;<\/p>\n<p>Watch Tech Stories, a series of mini documentaries from TechRepublic: https:\/\/www.youtube.com\/watch?v=RRPAs&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux: How to create a new user with admin privileges Adding a user with admin&#8230;<\/p>\n","protected":false},"author":8,"featured_media":6685,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4551],"tags":[],"class_list":["post-6686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-video-highlights"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/techclot.com\/wp-content\/uploads\/2023\/06\/jMoB39.jpg?fit=320%2C180&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3orZX-1JQ","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/posts\/6686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/comments?post=6686"}],"version-history":[{"count":0,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/posts\/6686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/media\/6685"}],"wp:attachment":[{"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/media?parent=6686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/categories?post=6686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclot.com\/index.php\/wp-json\/wp\/v2\/tags?post=6686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}