{"id":2442,"date":"2025-09-30T12:30:00","date_gmt":"2025-09-30T17:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=2442"},"modified":"2025-07-30T05:19:37","modified_gmt":"2025-07-30T10:19:37","slug":"how-to-add-user-to-sudoers-in-almalinux-10","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/","title":{"rendered":"How to Add User to Sudoers in AlmaLinux 10"},"content":{"rendered":"\n<p>Securing your VPS is a crucial step in keeping your data and applications safe from threats. One recommended security practice to harden your server is to disable the default root user and replace it with a new user with root privileges. In this article, we will show you how to add a user to sudoers in AlmaLinux 10.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">server with AlmaLinux 10<\/a><\/li>\n\n\n\n<li>SSH root access or a normal system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<p>Conventions<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command\n$ \u2013 given commands should be executed as a regular user<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">What is root?<\/h2>\n\n\n\n<p>In the Linux operating system, root is a default system user. The root user is the user with the highest access rights (superuser). The root user has unlimited access to execute commands, such as installing applications, deleting applications, upgrading the system, adding users, performing configurations, and so on.<\/p>\n\n\n\n<p>In practice, it is highly recommended to deactivate the direct root access for security reasons. You can create a new user and then change the new user&#8217;s privileges to have the same access rights as root.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a New User<\/h2>\n\n\n\n<p>Here&#8217;s how to create a new user on a VPS using the command line:<\/p>\n\n\n\n<p>To create a new user, you can use the following command while in the terminal. Make sure to replace &#8216;newuser&#8217; with any user name you want.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># adduser newuser<\/code><\/pre>\n\n\n\n<p>Then give the user a new password<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># passwd newuser<\/code><\/pre>\n\n\n\n<p>You will be prompted to type the new password twice.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Changing password for user newuser.\nNew password: \nRetype new password: \npasswd: all authentication tokens updated successfully<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a User to Sudoer<\/h2>\n\n\n\n<p>There are several ways to add a user to sudoer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Visudo<\/h3>\n\n\n\n<p>The \/etc\/sudoers file contains a set of rules that determine which users or groups are granted sudo privileges. By editing this file, you can grant specific access to commands and set specific security policies. You can configure user access by editing the sudoers file or creating a new configuration file in the \/etc\/sudoers.d directory. The files in this directory will be included in the sudoers file.<\/p>\n\n\n\n<p>Always use the visudo command to edit the \/etc\/sudoers file, and never edit it directly with a text editor. This command checks the file for syntax errors when you save it. If there are any errors, the file will not be saved. Editing the file with a regular text editor can introduce syntax errors that can result in the loss of sudo access.<\/p>\n\n\n\n<p>Visudo uses the file editor specified by the EDITOR environment variable, which by default is set to vim. If you want to edit the file with another file editor, for example nano, you can change the variable by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># EDITOR=nano visudo<\/code><\/pre>\n\n\n\n<p>When adding a new user or group to the sudoers file, it&#8217;s important to specify the user or group name, the hosts they&#8217;re allowed to access, the users who can run commands, and the commands they&#8217;re allowed to run. For example, if you want to allow a user to run sudo commands without being prompted for a password, let&#8217;s open the \/etc\/sudoers file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># visudo<\/code><\/pre>\n\n\n\n<p>Scroll down to the end of the file and add the following line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>username ALL=(ALL) NOPASSWD:ALL<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Replace Username<\/strong><\/h4>\n\n\n\n<p>Make sure to replace &#8220;username&#8221; with the system user that exists on your Almalinux 10 machine. And, dot nof forget to save the file and exit the editor. The NOPASSWD tag can be used to allow certain commands to be executed without prompting for the user&#8217;s password, which can be useful for automation but can also increase security vulnerabilities.<br><br>If for some reasons you want the sudoers to run only certain commands through sudo, let&#8217;s say the mkdir and rmdir commands, you would use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">username ALL=(ALL) NOPASSWD:\/bin\/mkdir,\/bin\/rmdir<\/pre>\n\n\n\n<p>Rather than modifying the sudoers file directly, you can achieve the same result by creating a new file with authorization rules in the \/etc\/sudoers.d directory. Simply add the same rules you included in the sudoers file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># echo \"username ALL=(ALL) NOPASSWD:ALL\" | sudo tee \/etc\/sudoers.d\/username<\/pre>\n\n\n\n<p>This method simplifies the management of sudo privileges. While the file name itself isn&#8217;t crucial, it&#8217;s a common convention to name the file after the username.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Usermod<\/h3>\n\n\n\n<p>On a Linux system, we can use usermod to modify existing user accounts. To grant a system user sudo privileges in AlmaLinux, we can use the usermod command to add the user to the wheel group. In AlmaLinux (and other RHEL-based distributions), typically we use the wheel group to grant members sudo access.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># usermod -aG wheel newuser<\/pre>\n\n\n\n<p>The command &#8220;usermod&#8221; is used to change an existing user account.<br>The options &#8220;-aG&#8221; signify that the command will add the user to a designated group.<br>The &#8220;-a&#8221; option allows the user to join the group without losing their current group memberships, while the &#8220;-G&#8221; option indicates which group to add them to. It&#8217;s important to always use these two options together.<br>The group &#8220;wheel&#8221; is included with these options; while &#8220;wheel&#8221; is mentioned here, it can be substituted with any other group. The term &#8220;newuser&#8221; represents the user account that is intended to be added to the sudo group.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Gpasswd<\/h3>\n\n\n\n<p>We can use the gpasswd command to administer \/etc\/group, and \/etc\/gshadow. Every group can have administrators, members and a password. The difference between usermod and gpasswd is that usermod expects the group name first, then the username. While the gpasswd command expects the username first, then the group name. To add a user to the sudoer group (typically the wheel group) in AlmaLinux using the gpasswd command, we can execute this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># gpasswd -a username wheel<\/pre>\n\n\n\n<p>Replace username with the actual username you want to add to the sudoers group. The -a flag stands for &#8220;add.&#8221;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>That is all! You have learned how to add a user to sudoers in AlmaLinux 10.<\/p>\n\n\n\n<p>If you liked this post about adding a user to sudoers in AlmaLinux 10, please share it with your friends or leave a comment down below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Securing your VPS is a crucial step in keeping your data and applications safe from threats. One recommended security practice to harden your server is to disable the default root user and replace it with a new user with root privileges. In this article, we will show you how to add a user to sudoers &#8230; <a title=\"How to Add User to Sudoers in AlmaLinux 10\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\" aria-label=\"More on How to Add User to Sudoers in AlmaLinux 10\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":2449,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[352],"tags":[360,351,118,361],"class_list":["post-2442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-almalinux","tag-add-user","tag-almalinux-10","tag-how-to","tag-sudoers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-30T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Add User to Sudoers in AlmaLinux 10\",\"datePublished\":\"2025-09-30T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\"},\"wordCount\":951,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp\",\"keywords\":[\"add user\",\"almalinux 10\",\"how to\",\"sudoers\"],\"articleSection\":[\"AlmaLinux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\",\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\",\"name\":\"How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp\",\"datePublished\":\"2025-09-30T17:30:00+00:00\",\"description\":\"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage\",\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp\",\"contentUrl\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp\",\"width\":742,\"height\":410,\"caption\":\"How to Add Users to Sudoers in AlmaLinux 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.linuxcloudvps.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add User to Sudoers in AlmaLinux 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#website\",\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png\",\"contentUrl\":\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/www.facebook.com\/LinuxCloudVPS\",\"https:\/\/x.com\/LinuxCloudVPS\",\"http:\/\/www.linkedin.com\/company\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/www.linuxcloudvps.com\/\"],\"url\":\"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog","description":"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog","og_description":"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2025-09-30T17:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Add User to Sudoers in AlmaLinux 10","datePublished":"2025-09-30T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/"},"wordCount":951,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp","keywords":["add user","almalinux 10","how to","sudoers"],"articleSection":["AlmaLinux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/","name":"How to Add User to Sudoers in AlmaLinux 10 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp","datePublished":"2025-09-30T17:30:00+00:00","description":"Learn how to add user to sudoers in AlmaLinux 10 with our latest easy to follow and understand guide and secure your Linux VPS.","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2025\/09\/how-to-add-user-to-sudoers-almalinux-10.webp","width":742,"height":410,"caption":"How to Add Users to Sudoers in AlmaLinux 10"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-add-user-to-sudoers-in-almalinux-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Add User to Sudoers in AlmaLinux 10"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=2442"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2442\/revisions"}],"predecessor-version":[{"id":2448,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2442\/revisions\/2448"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/2449"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=2442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=2442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=2442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}