Forgot Username and Password on Linux Mint

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?










share|improve this question



























    up vote
    3
    down vote

    favorite












    I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?










    share|improve this question

























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?










      share|improve this question















      I have Linux Mint 17.3 on VM Virtual Box. Unfortunately, I forgot my username and password. Can someone tell me the steps on how to reset my username and password?







      linux-mint virtualbox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 23 '16 at 20:44









      Anthon

      58.7k1796159




      58.7k1796159










      asked Apr 23 '16 at 19:00









      eLg

      3516




      3516




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:



          mount -uw /


          (In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)



          Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!






          share|improve this answer





























            up vote
            1
            down vote













            On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.



            Maybe you could do something similar on Linux Mint.






            share|improve this answer





























              up vote
              0
              down vote













              Reboot your guest OS and press F12 or ESC key to load boot menu



              Step 1. Select Recovery Menu
              Step 2. In Recovery Menu select below option
              enter image description here



              Step 3. You are now logged in as root, change any user credentials using passwd command






              share|improve this answer




















                Your Answer







                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "106"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                convertImagesToLinks: false,
                noModals: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                 

                draft saved


                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f278627%2fforgot-username-and-password-on-linux-mint%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                2
                down vote



                accepted










                You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:



                mount -uw /


                (In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)



                Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!






                share|improve this answer


























                  up vote
                  2
                  down vote



                  accepted










                  You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:



                  mount -uw /


                  (In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)



                  Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!






                  share|improve this answer
























                    up vote
                    2
                    down vote



                    accepted







                    up vote
                    2
                    down vote



                    accepted






                    You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:



                    mount -uw /


                    (In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)



                    Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!






                    share|improve this answer














                    You could boot it into single user mode (if you don't know how to do it, just Google it) then enter this command:



                    mount -uw /


                    (In some cases, this command varies from system to system, so you may have to try some other command to make the filesystem writeable.)



                    Then type passwd then type what you want 'the root password' to be (just make sure it's a very secure password!) Then 'the root user' will be enabled, then log into 'root' then you'll have admin privileges and you can then reset your password, but while logged in as root, be careful, because while you're root, you have infinite privilege on the computer and you could easily accidentally delete an important system file without it even asking 'are you sure'. Hope this helps!







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jun 15 '16 at 23:25

























                    answered Apr 23 '16 at 19:40









                    John Militer

                    6512926




                    6512926






















                        up vote
                        1
                        down vote













                        On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.



                        Maybe you could do something similar on Linux Mint.






                        share|improve this answer


























                          up vote
                          1
                          down vote













                          On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.



                          Maybe you could do something similar on Linux Mint.






                          share|improve this answer
























                            up vote
                            1
                            down vote










                            up vote
                            1
                            down vote









                            On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.



                            Maybe you could do something similar on Linux Mint.






                            share|improve this answer














                            On Arch Linux, you could boot a live image of the OS, arch-chroot and then run passwd.



                            Maybe you could do something similar on Linux Mint.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Apr 23 '16 at 19:59









                            John Militer

                            6512926




                            6512926










                            answered Apr 23 '16 at 19:10









                            David

                            1687




                            1687




















                                up vote
                                0
                                down vote













                                Reboot your guest OS and press F12 or ESC key to load boot menu



                                Step 1. Select Recovery Menu
                                Step 2. In Recovery Menu select below option
                                enter image description here



                                Step 3. You are now logged in as root, change any user credentials using passwd command






                                share|improve this answer
























                                  up vote
                                  0
                                  down vote













                                  Reboot your guest OS and press F12 or ESC key to load boot menu



                                  Step 1. Select Recovery Menu
                                  Step 2. In Recovery Menu select below option
                                  enter image description here



                                  Step 3. You are now logged in as root, change any user credentials using passwd command






                                  share|improve this answer






















                                    up vote
                                    0
                                    down vote










                                    up vote
                                    0
                                    down vote









                                    Reboot your guest OS and press F12 or ESC key to load boot menu



                                    Step 1. Select Recovery Menu
                                    Step 2. In Recovery Menu select below option
                                    enter image description here



                                    Step 3. You are now logged in as root, change any user credentials using passwd command






                                    share|improve this answer












                                    Reboot your guest OS and press F12 or ESC key to load boot menu



                                    Step 1. Select Recovery Menu
                                    Step 2. In Recovery Menu select below option
                                    enter image description here



                                    Step 3. You are now logged in as root, change any user credentials using passwd command







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Aug 13 at 8:40









                                    pritish

                                    1




                                    1



























                                         

                                        draft saved


                                        draft discarded















































                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f278627%2fforgot-username-and-password-on-linux-mint%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Popular posts from this blog

                                        Peggy Mitchell

                                        Palaiologos

                                        The Forum (Inglewood, California)