{"id":3432,"date":"2024-07-14T10:00:17","date_gmt":"2024-07-14T10:00:17","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3432"},"modified":"2024-08-04T15:39:40","modified_gmt":"2024-08-04T15:39:40","slug":"change-password-on-root-user-and-user-account","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/","title":{"rendered":"Change Password on Root User and User Account"},"content":{"rendered":"<div class=\"cl-preview-section\">\n<p id=\"change-password-on-root-user-and-user-account\"><span style=\"font-size: 16px;\">Password management is a critical aspect of maintaining the security and integrity of any system. In a Linux environment, ensuring that user and root passwords are strong and regularly updated is vital to protect against unauthorized access and potential security breaches. Strong passwords that are difficult to guess or crack act as the first line of defense in safeguarding sensitive data and system resources.<\/span><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Maintaining strong passwords helps prevent unauthorized access by making it harder for attackers to gain entry through brute force or other methods. Regularly updating passwords reduces the risk of compromised credentials being exploited over time. This practice is crucial for user accounts and the root user, who has administrative control over the entire system.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This guide will demonstrate how to change the password for root and non-root user accounts on Linux \/ Ubuntu systems.<\/p>\n\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>Before proceeding with the steps outlined in this guide, it is essential to have a basic understanding of the Linux command line. Familiarity with terminal commands and navigation is required to execute the necessary actions for changing passwords.<\/li>\n<li>You will need access to a Linux server or desktop to perform the steps in this guide. This guide applies to various Linux distributions, including Ubuntu, Debian, Fedora, and others.<\/li>\n<li>To change passwords, especially for the root user, you must have root or sudo privileges. This ensures you have the necessary permissions to modify system configuration files and update passwords securely.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-1-changing-the-password-for-a-user-account\">Step 1: Changing the Password for a User Account<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>First, open a terminal session on your Linux system. You can do this by searching for \u201cTerminal\u201d in your application menu or by using the keyboard shortcut (usually <code>Ctrl + Alt + T<\/code>).<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To change the password for a specific user account, you\u2019ll use the\u00a0<code>passwd<\/code> command followed by the username. This command will prompt you to enter and confirm the user&#8217;s new password.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Command structure:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">passwd<\/span> <span class=\"token punctuation\">[<\/span>username<span class=\"token punctuation\">]<\/span>\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Example:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">passwd<\/span> username\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>After executing the command, you will be prompted to enter the new password. Type the new password and press Enter. You will then be asked to confirm the new password by typing it again and pressing Enter.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-2-changing-the-password-for-the-root-user\">Step 2: Changing the Password for the Root User<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>-To change the root user\u2019s password, you need root privileges. You can gain root access by using the\u00a0<code>sudo<\/code>\u00a0command.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Using the\u00a0<code>passwd<\/code>\u00a0Command for Root<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Once you have root access, you can change the root user\u2019s password with the\u00a0<code>passwd<\/code>\u00a0command.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Command structure:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">passwd<\/span> root\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Example:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">passwd<\/span> root\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>After executing the command, you will be prompted to enter the new password for the root user. Type the new password and press Enter. You will then be asked to confirm the new password by typing it again and pressing Enter. This ensures that the root user\u2019s password is securely updated.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"step-3-verifying-the-password-change\">Step 3: Verifying the Password Change<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To ensure the password change was successful, log out of your current session and log back in using the new credentials. This step confirms that the new password works as expected.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Using the\u00a0<code>su<\/code>\u00a0Command<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>For root password verification, you can use the\u00a0<code>su<\/code>\u00a0(substitute user) command to switch to the root user. This will prompt you to enter the root password.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Command:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">su<\/span> -\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Enter the new root password when prompted. If the password is accepted, you will be logged in as the root user, indicating the password change was successful.<\/p>\n<div class=\"cl-preview-section\">\n<h2 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Looking for reliable and budget-friendly Virtual Private Server (VPS) hosting? Look no further than\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers<\/a>. Dracula Servers offers a range of VPS hosting plans tailored to meet diverse needs. With competitive pricing, robust performance, and a user-friendly interface, it\u2019s an excellent choice for individuals and businesses alike.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers website<\/a> to discover hosting solutions that align with your requirements and take your online presence to new heights with their affordable and efficient VPS hosting services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><a href=\"https:\/\/draculaservers.com\/\"><strong>Visit Dracula Servers<\/strong><\/a>\u00a0and experience reliable VPS hosting without breaking the bank.<\/p>\n<\/div>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"best-practices-for-password-management\">Best Practices for Password Management<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"creating-strong-passwords\">Creating Strong Passwords**<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To ensure security, create strong passwords by following these guidelines:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Length:<\/strong>\u00a0At least 12-16 characters.<\/li>\n<li><strong>Complexity:<\/strong>\u00a0Use a mix of uppercase letters, lowercase letters, numbers, and special characters.<\/li>\n<li><strong>Avoid Predictability:<\/strong>\u00a0Don\u2019t use easily guessable information like birthdays, names, or common words.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"regularly-updating-passwords\">Regularly Updating Passwords<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Regular password updates are crucial for maintaining security. Aim to change your passwords every 3-6 months, or immediately if you suspect a security breach.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"using-password-managers\">Using Password Managers<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Password managers are highly recommended for securely storing and managing your passwords. They can generate strong, unique passwords for each of your accounts and store them securely. Popular options include:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>LastPass<\/strong><\/li>\n<li><strong>1Password<\/strong><\/li>\n<li><strong>Bitwarden<\/strong><\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Using a password manager not only enhances your security but also simplifies the process of maintaining strong, unique passwords across all your accounts.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"troubleshooting\">Troubleshooting<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"common-issues-and-solutions\">Common Issues and Solutions<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Incorrect Password Prompts<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If you encounter incorrect password prompts, ensure you are entering the correct current password. Double-check for typos and verify that Caps Lock is not enabled.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Permission Errors<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Permission errors often occur if you don\u2019t have the necessary privileges to change the password. Ensure you are using\u00a0<code>sudo<\/code>\u00a0for commands that require elevated permissions.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Commands to Diagnose Issues<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To diagnose issues related to user permissions and account status, you can check the contents of the\u00a0<code>\/etc\/passwd<\/code>\u00a0and\u00a0<code>\/etc\/shadow<\/code>\u00a0files.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Command:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cat<\/span> \/etc\/passwd\r\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">cat<\/span> \/etc\/shadow\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>These commands will display user account information and password hashes, respectively. Use this information to verify user details and diagnose potential issues.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Resetting Forgotten Passwords<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If a password is forgotten, you can reset it by booting into single-user mode or using a live CD\/USB.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>For Single-User Mode:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li>Reboot the system.<\/li>\n<li>At the GRUB menu, select the default kernel and press\u00a0<code>e<\/code>\u00a0to edit the boot parameters.<\/li>\n<li>Find the line starting with\u00a0<code>linux<\/code>\u00a0and append\u00a0<code>single<\/code>\u00a0or\u00a0<code>init=\/bin\/bash<\/code>\u00a0at the end.<\/li>\n<li>Press\u00a0<code>Ctrl + X<\/code>\u00a0or\u00a0<code>F10<\/code>\u00a0to boot.<\/li>\n<li>Once in single-user mode, use the\u00a0<code>passwd<\/code>\u00a0command to reset the password:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">passwd<\/span> username\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>For Live CD\/USB:<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li>Boot from the live CD\/USB.<\/li>\n<li>Open a terminal and mount the root filesystem:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">mount<\/span> \/dev\/sdXn \/mnt\r\n<\/code><\/pre>\n<p>Replace\u00a0<code>\/dev\/sdXn<\/code>\u00a0with your root partition.<\/li>\n<li>Change the root filesystem to the mounted directory:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">chroot<\/span> \/mnt\r\n<\/code><\/pre>\n<\/li>\n<li>Use the\u00a0<code>passwd<\/code>\u00a0command to reset the password:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">passwd<\/span> username\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"additional-resources\">Additional Resources<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Links to Official Documentation<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/passwd.1.html\">Official\u00a0<code>passwd<\/code>\u00a0Command Documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.kernel.org\/doc\/html\/latest\/admin-guide\/user-account-management.html\">Linux User Management Documentation<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Community Forums and Support Channels<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><a href=\"https:\/\/ubuntuforums.org\/\">Ubuntu Forums<\/a><\/li>\n<li><a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/linux\">Stack Overflow<\/a><\/li>\n<li><a href=\"https:\/\/www.reddit.com\/r\/linux\/\">Reddit r\/linux<\/a><\/li>\n<li><a href=\"https:\/\/www.linuxquestions.org\/\">LinuxQuestions.org<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"faqs\">FAQs<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"common-questions-about-changing-passwords\">Common Questions About Changing Passwords<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>How often should I change my passwords?<\/strong>\n<ul>\n<li>It\u2019s recommended to change your passwords every 3-6 months.<\/li>\n<\/ul>\n<\/li>\n<li><strong>What should I do if I forget my root password?<\/strong>\n<ul>\n<li>You can reset the root password by booting into single-user mode or using a live CD\/USB.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Can I change another user\u2019s password without knowing their current password?<\/strong>\n<ul>\n<li>Yes, if you have root or sudo privileges, you can change any user\u2019s password without needing their current password.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"tips-based-on-user-experience\">Tips Based on User Experience<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Keep Passwords Secure:<\/strong>\u00a0Use a password manager to store and generate strong passwords.<\/li>\n<li><strong>Regular Backups:<\/strong>\u00a0Regularly back up important data and configuration files.<\/li>\n<li><strong>Security Practices:<\/strong>\u00a0Enable multi-factor authentication (MFA) where possible for additional security.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"wrap-up\">Wrap Up<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Managing passwords for both root and user accounts is a critical task in maintaining the security of your Linux system. By following this guide, you\u2019ve learned how to change passwords using the\u00a0<code>passwd<\/code> command, ensuring that your system remains secure and your credentials are up-to-date. Always remember to use strong, unique passwords and change them regularly to enhance your security posture!<\/p>\n<p>Check out More Linux Tutorials <a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Here!<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Password management is a critical aspect of maintaining the security and integrity of any system. In a Linux environment, ensuring that user and root passwords are strong and regularly updated is vital to protect against unauthorized access and potential security breaches. Strong passwords that are difficult to guess or crack act as the first line [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[172],"tags":[563,562,561,564],"class_list":["post-3432","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tutorials","tag-change-passwd-linux","tag-change-user-password-linux","tag-changing-root-password","tag-use-passwd-command"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Password management is a critical aspect of maintaining the security and integrity of any system. In a Linux environment, ensuring that user and root passwords are strong and regularly updated is vital to protect against unauthorized access and potential security breaches. Strong passwords that are difficult to guess or crack act as the first line of defense in safeguarding sensitive data and system resources. Maintaining strong passwords helps prevent unauthorized access by making it harder for attackers to gain entry through brute force or other methods. Regularly updating passwords reduces the risk of compromised credentials being exploited over time. This&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Change Password on Root User and User Account - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change Password on Root User and User Account - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-14T10:00:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-04T15:39:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"Change Password on Root User and User Account\",\"datePublished\":\"2024-07-14T10:00:17+00:00\",\"dateModified\":\"2024-08-04T15:39:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/\"},\"wordCount\":1223,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-31.png\",\"keywords\":[\"Change passwd linux\",\"Change user password linux\",\"Changing root password\",\"Use passwd command\"],\"articleSection\":[\"Linux Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/\",\"name\":\"Change Password on Root User and User Account - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-31.png\",\"datePublished\":\"2024-07-14T10:00:17+00:00\",\"dateModified\":\"2024-08-04T15:39:40+00:00\",\"description\":\"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-31.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-31.png\",\"width\":1280,\"height\":720,\"caption\":\"Change Password on Root User and User Account\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/change-password-on-root-user-and-user-account\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change Password on Root User and User Account\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Change Password on Root User and User Account - Dracula Servers Tutorials","description":"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.","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:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/","og_locale":"en_US","og_type":"article","og_title":"Change Password on Root User and User Account - Dracula Servers Tutorials","og_description":"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.","og_url":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-07-14T10:00:17+00:00","article_modified_time":"2024-08-04T15:39:40+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"Change Password on Root User and User Account","datePublished":"2024-07-14T10:00:17+00:00","dateModified":"2024-08-04T15:39:40+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/"},"wordCount":1223,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png","keywords":["Change passwd linux","Change user password linux","Changing root password","Use passwd command"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/","url":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/","name":"Change Password on Root User and User Account - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png","datePublished":"2024-07-14T10:00:17+00:00","dateModified":"2024-08-04T15:39:40+00:00","description":"You can easily change the password for a root user or a non-root user account by using the passwd command but you will require root access.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-31.png","width":1280,"height":720,"caption":"Change Password on Root User and User Account"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/change-password-on-root-user-and-user-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Change Password on Root User and User Account"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3432"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3432\/revisions"}],"predecessor-version":[{"id":3434,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3432\/revisions\/3434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3433"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}