{"id":51977,"date":"2023-05-16T21:22:00","date_gmt":"2023-05-16T21:22:00","guid":{"rendered":"http:\/\/c4041f29-602b-4ba1-b735-dc0e1ca170dd"},"modified":"2023-05-16T21:22:00","modified_gmt":"2023-05-16T21:22:00","slug":"linux-security-what-is-sudo-and-why-is-it-so-important","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/","title":{"rendered":"Linux security: What is sudo and why is it so important?"},"content":{"rendered":"<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage c-cmsImage_loaded\"><source media=\"(max-width: 767px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2d5167830e69bbe3749cd6bea7f18e26657e9b37\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=768\" alt=\"Locks\"><source media=\"(max-width: 1023px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/a4b40bd97ef59fceb8ac488cf8b94f9abe99fa1e\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1024\" alt=\"Locks\"><source media=\"(max-width: 1440px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\" alt=\"Locks\"><img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\" alt=\"Locks\" width=\"1280\" height=\"853.3333333333333\" fetchpriority=\"low\"><\/picture><\/div>\n<p> <!----><\/div>\n<p> <!----><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Getty Images\/MirageC<\/span><\/figcaption><\/figure>\n<p>Back in the early days of Linux, things were exponentially more complicated. The distributions were far less mature, but they also required the use of a particular system account to get certain things done. That account was root, and with it, you had unlimited power over your operating system.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/this-official-ubuntu-spin-might-be-just-be-the-perfect-intro-to-linux\/\" rel=\"follow\"><strong>This official Ubuntu Spin might be just be the perfect intro to Linux<\/strong><\/a><\/p>\n<p>To demonstrate the power of the root account, one trick you could always play on unsuspecting users was to tell them to change to the root user with the&nbsp;<em>su command&nbsp;<\/em>and then have them issue the following:<\/p>\n<p>The rm command is used to delete files and folders. In conjunction with r (recursive) and f (force), you would delete everything from the root folder (\/), thus rendering your system unusable.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/cant-remember-the-linux-command-let-history-repeat-itself\/\" rel=\"follow\"><strong>Can&#8217;t remember the Linux command you ran earlier? Let history repeat itself<\/strong><\/a><\/p>\n<p>Back then, any command that required administrative privileges was run via the root user. In order to do that, you either had to change to the root user (with the su command) or log in as the root user. Both of these options were <a href=\"https:\/\/www.zdnet.com\/article\/linux-security-hole-much-sudo-about-nothing\/\" rel=\"follow\">eventually considered a security issue<\/a>. Why? If you logged in as the root user and walked away from your system, anyone could do anything they wanted to it. The same thing holds true with changing to the root user and leaving a terminal window open.<\/p>\n<p><!----><\/p>\n<p>Of course, it&#8217;s much more complicated than that. Having access to the root user meant if a hacker gained access to your system, they could then change to the root user and wreck havoc on the machine.<\/p>\n<p>Eventually, it was decided <a href=\"https:\/\/www.zdnet.com\/article\/10-years-old-sudo-bug-lets-linux-users-gain-root-level-access\/\" rel=\"follow\">something had to give<\/a>. Out of that need, <a href=\"https:\/\/www.zdnet.com\/article\/securing-linuxs-master-sysadmin-command-sudo\/\" rel=\"follow\">sudo was born<\/a>. Sudo stands for &#8220;superuser do&#8221; and effectively gives a regular user (one that belongs to the admin group) access to administrator-like powers. This solved two problems:<\/p>\n<ul>\n<li>The root user could be deactivated (so it couldn&#8217;t be as easily leveraged).<\/li>\n<li>Only users in the admin group (more on this in a bit) could run administrative tasks.<\/li>\n<\/ul>\n<p>This was a significant step forward for Linux, one that not only bolstered the security of the system but also made it easier for users.<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/best-linux-desktops-for-beginners\/\" rel=\"follow\"><strong>The best Linux distros for beginners<\/strong><\/a><\/p>\n<p>With sudo in place, users no longer had to change to the root user or log into that account to run administrative commands (such as installing software). Users could run those admin activities through sudo with the same effect as if they were run from the root user account. On top of that, it offered better control over who could do what on any given system. When attempting to run a command that required admin privileges, a user only had to type their user password (also called their sudo password) and the command would go off without a hitch (so long as it was run properly).<\/p>\n<p>For example, instead of having to first change to the root user with su and then issuing the update\/upgrade commands on a Ubuntu-based distribution, you could simply issue the commands:<\/p>\n<div class=\"c-shortcodeCodeSnippet\" readability=\"7\">\n<pre class=\"c-shortcodeCodeSnippet_code\">sudo apt-get update\nsudo apt-get upgrade -y<\/pre>\n<p> <!----><\/div>\n<p>By running apt-get through sudo, the user is granted temporary admin privileges and can successfully issue those commands.<\/p>\n<h2>What about users not in the admin group?<\/h2>\n<p>With regards to the basics of using sudo, any user that you want to grant access to that particular power has to be a member of the admin group for that distribution. For example, on <a href=\"https:\/\/www.zdnet.com\/article\/how-to-enable-ubuntu-pro-to-gain-10-years-of-security-for-your-desktop\/\" rel=\"follow\">Ubuntu-based distributions<\/a>, that group is sudo, whereas, on <a href=\"https:\/\/www.zdnet.com\/article\/red-hat-advances-with-new-enterprise-linux-releases\/\" rel=\"follow\">Red Hat-based distributions<\/a>, that group is called wheel.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/how-to-permanently-mount-a-drive-in-linux-and-why-you-should\/\" rel=\"follow\"><strong>How to permanently mount a drive in Linux (and why you should)<\/strong><\/a><\/p>\n<p>If you have a user that isn&#8217;t a member of the admin group when they attempt to run a command with sudo, they&#8217;ll see something like this:<\/p>\n<div class=\"c-shortcodeCodeSnippet\" readability=\"7\">\n<pre class=\"c-shortcodeCodeSnippet_code\">olivia is not in the sudoers file. This incident will be reported.<\/pre>\n<p> <!----><\/div>\n<p>How do you fix that? You add them to the admin group. So, for a Ubuntu-based distribution, the command to add a user to the admin group would be:<\/p>\n<div class=\"c-shortcodeCodeSnippet\" readability=\"7\">\n<pre class=\"c-shortcodeCodeSnippet_code\">sudo usermod -aG sudo USER<\/pre>\n<p> <!----><\/div>\n<p>Where USER is the username in question.<\/p>\n<p>On a Red Hat-based distribution (such as Fedora), that command would be:<\/p>\n<div class=\"c-shortcodeCodeSnippet\" readability=\"7\">\n<pre class=\"c-shortcodeCodeSnippet_code\">sudo usermod -aG wheel USER<\/pre>\n<p> <!----><\/div>\n<p>Where USER is the username in question.<\/p>\n<p>After running the command, the user would then either have to log out and log back in, or make the system aware of the changes with the command:<\/p>\n<p>Once a user has been added to the admin group, they can use sudo to run commands that require admin privileges.<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/best-linux-laptop\/\" rel=\"follow\"><strong>The best Linux laptops for consumers and developers<\/strong><\/a><\/p>\n<p>Sudo has made Linux not only more secure but also more user-friendly. No longer having to change to (or log into) the root user account avoids a number of serious security pitfalls and allows you to manage user access to admin tasks.&nbsp;<\/p>\n<p>READ MORE <a href=\"https:\/\/www.zdnet.com\/article\/why-sudo-is-so-important-in-linux-and-how-to-use-it\/#ftag=RSSbaffb68\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sudo stands for &#8220;superuser do&#8221; and effectively gives a regular user access to administrator-like powers. Here&#8217;s how to use this powerful tool.<br \/>\nREAD MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[62],"tags":[],"class_list":["post-51977","post","type-post","status-publish","format-standard","hentry","category-zdnet-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\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.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-16T21:22:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"Linux security: What is sudo and why is it so important?\",\"datePublished\":\"2023-05-16T21:22:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/\"},\"wordCount\":815,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\\\/2023\\\/05\\\/16\\\/7b4049f8-a002-4fa2-9323-0545ace1763f\\\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\",\"articleSection\":[\"ZDNet | Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/\",\"name\":\"Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\\\/2023\\\/05\\\/16\\\/7b4049f8-a002-4fa2-9323-0545ace1763f\\\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\",\"datePublished\":\"2023-05-16T21:22:00+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\\\/2023\\\/05\\\/16\\\/7b4049f8-a002-4fa2-9323-0545ace1763f\\\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\",\"contentUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\\\/2023\\\/05\\\/16\\\/7b4049f8-a002-4fa2-9323-0545ace1763f\\\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/linux-security-what-is-sudo-and-why-is-it-so-important\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux security: What is sudo and why is it so important?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","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.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/","og_locale":"en_US","og_type":"article","og_title":"Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2023-05-16T21:22:00+00:00","og_image":[{"url":"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"Linux security: What is sudo and why is it so important?","datePublished":"2023-05-16T21:22:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/"},"wordCount":815,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280","articleSection":["ZDNet | Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/","url":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/","name":"Linux security: What is sudo and why is it so important? 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280","datePublished":"2023-05-16T21:22:00+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#primaryimage","url":"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280","contentUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/541494dc4c20f02f7f5d2ae8b7e198a6599d6ac4\/2023\/05\/16\/7b4049f8-a002-4fa2-9323-0545ace1763f\/gettyimages-1443325685.jpg?auto=webp&amp;width=1280"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/linux-security-what-is-sudo-and-why-is-it-so-important\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Linux security: What is sudo and why is it so important?"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/51977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=51977"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/51977\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=51977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=51977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=51977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}