{"id":3842,"date":"2018-11-18T05:58:47","date_gmt":"2018-11-18T05:58:47","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=3842"},"modified":"2018-12-07T00:03:05","modified_gmt":"2018-12-07T00:03:05","slug":"ubuntu-change-password-linux-hint","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/11\/18\/ubuntu-change-password-linux-hint\/","title":{"rendered":"Ubuntu Change Password | Linux Hint"},"content":{"rendered":"<p>In terms of security, Linux is definitely one of the tightest. The password system is one of the most important parts. Without the password, you\u2019re not able to access a secure system and do anything. If you allow system access without a password, it is not secure. No password, no nothing, in terms of security. However, you may also need to change your password at any point. Let\u2019s have a look at changing the password of your system.<\/p>\n<h3>Changing the password<\/h3>\n<p>This is the password that you have to enter when you\u2019re logging into your account. This password isn\u2019t the \u201croot\u201d password. Let\u2019s fire up a terminal and run the following command \u2013<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"1056\" height=\"209\" \/><\/p>\n<p>This will prompt you to enter your current password. Then, you have to type your new password 2 times.<\/p>\n<h3>Changing the \u201croot\u201d password<\/h3>\n<p>The \u201croot\u201d is the ultimate user account for any Linux system that offers the most control over the system, even allowing access to sensitive system files and other files. For changing the \u201croot\u201d password, run the following command \u2013<\/p>\n<p># OR<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"1079\" height=\"196\" \/><\/p>\n<p>Then, restart your system.<\/p>\n<h3>Changing password without the current \u201croot\u201d access<\/h3>\n<p>In cases, you may not be able to access to your system because you forgot the \u201croot\u201d password. It\u2019s also possible to change the password without having access to the system. Restart your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"608\" height=\"257\" \/><\/p>\n<p>Keep holding \u201cShift\u201d to access the GRUB menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"643\" height=\"480\" \/><\/p>\n<p>Press \u201cE\u201d for editing the startup command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"629\" height=\"464\" \/><\/p>\n<p>Get to the line \u201clinux \/boot\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"626\" height=\"445\" \/><\/p>\n<p>At the end of \u201cro\u201d, type the following text \u2013<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"626\" height=\"432\" \/><\/p>\n<p>Press \u201cCtrl + X\u201d to boot with the modified startup command. Run the following commands \u2013<\/p>\n<p>mount -o remount,rw \/<br \/>\npasswd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"719\" height=\"196\" \/><\/p>\n<p>Enter your new password. After password changing is successful, run the following command for restarting your system \u2013<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/image\/gif;base64,R0lGODdhAQABAPAAAP\/wAAACwAAAAAAQABAEACAkQBADs=\" alt=\"\" width=\"716\" height=\"143\" \/><\/p>\n<p>Voila! Your password is changed successfully!<\/p>\n<p><a href=\"https:\/\/linuxhint.com\/ubuntu_change_password\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In terms of security, Linux is definitely one of the tightest. The password system is one of the most important parts. Without the password, you\u2019re not able to access a secure system and do anything. If you allow system access without a password, it is not secure. No password, no nothing, in terms of security. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/11\/18\/ubuntu-change-password-linux-hint\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ubuntu Change Password | Linux Hint&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3842","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=3842"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3842\/revisions"}],"predecessor-version":[{"id":4577,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/3842\/revisions\/4577"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=3842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=3842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=3842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}