can't upgrade, password problems [duplicate]












0
















This question already has an answer here:




  • How do I reset a lost administrative password?

    15 answers




I installed ubuntu without a password, However, I am asked for a password for upgrading, and restarting ubuntu. Is there a way to get around this? I have tried the various ways to discover what the password is - including using my old password and other forum tips - no luck.










share|improve this question













marked as duplicate by Kulfy, user68186, user535733, karel, Eric Carvalho Jan 10 at 11:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

    – user535733
    Jan 9 at 16:42











  • Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

    – user68186
    Jan 9 at 16:42






  • 5





    I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

    – Kulfy
    Jan 9 at 16:42













  • Probably set to automatic login and forgotten. Now somehow changed the settings.

    – Vijay
    Jan 9 at 17:12
















0
















This question already has an answer here:




  • How do I reset a lost administrative password?

    15 answers




I installed ubuntu without a password, However, I am asked for a password for upgrading, and restarting ubuntu. Is there a way to get around this? I have tried the various ways to discover what the password is - including using my old password and other forum tips - no luck.










share|improve this question













marked as duplicate by Kulfy, user68186, user535733, karel, Eric Carvalho Jan 10 at 11:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

    – user535733
    Jan 9 at 16:42











  • Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

    – user68186
    Jan 9 at 16:42






  • 5





    I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

    – Kulfy
    Jan 9 at 16:42













  • Probably set to automatic login and forgotten. Now somehow changed the settings.

    – Vijay
    Jan 9 at 17:12














0












0








0









This question already has an answer here:




  • How do I reset a lost administrative password?

    15 answers




I installed ubuntu without a password, However, I am asked for a password for upgrading, and restarting ubuntu. Is there a way to get around this? I have tried the various ways to discover what the password is - including using my old password and other forum tips - no luck.










share|improve this question















This question already has an answer here:




  • How do I reset a lost administrative password?

    15 answers




I installed ubuntu without a password, However, I am asked for a password for upgrading, and restarting ubuntu. Is there a way to get around this? I have tried the various ways to discover what the password is - including using my old password and other forum tips - no luck.





This question already has an answer here:




  • How do I reset a lost administrative password?

    15 answers








password-recovery






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 at 16:38









LK4484LK4484

11




11




marked as duplicate by Kulfy, user68186, user535733, karel, Eric Carvalho Jan 10 at 11:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Kulfy, user68186, user535733, karel, Eric Carvalho Jan 10 at 11:44


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

    – user535733
    Jan 9 at 16:42











  • Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

    – user68186
    Jan 9 at 16:42






  • 5





    I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

    – Kulfy
    Jan 9 at 16:42













  • Probably set to automatic login and forgotten. Now somehow changed the settings.

    – Vijay
    Jan 9 at 17:12



















  • If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

    – user535733
    Jan 9 at 16:42











  • Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

    – user68186
    Jan 9 at 16:42






  • 5





    I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

    – Kulfy
    Jan 9 at 16:42













  • Probably set to automatic login and forgotten. Now somehow changed the settings.

    – Vijay
    Jan 9 at 17:12

















If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

– user535733
Jan 9 at 16:42





If you used the standard Desktop or Server installers, it's not possible to install Ubuntu without a password. So please edit your question to clearly explain how you did install Ubuntu without a password. Maybe you used a cloud image? Some vagrant box? Something else?

– user535733
Jan 9 at 16:42













Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

– user68186
Jan 9 at 16:42





Welcome to Ask Ubuntu. The standard installation of Ubuntu requires setting a password even if you set it to login automatically when you power-on the computer.

– user68186
Jan 9 at 16:42




5




5





I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

– Kulfy
Jan 9 at 16:42







I installed Ubuntu without a password: How? Resetting the password is the only workaround here I believe. This might help How do I reset a lost administrative password?

– Kulfy
Jan 9 at 16:42















Probably set to automatic login and forgotten. Now somehow changed the settings.

– Vijay
Jan 9 at 17:12





Probably set to automatic login and forgotten. Now somehow changed the settings.

– Vijay
Jan 9 at 17:12










1 Answer
1






active

oldest

votes


















0














Same old method




  • Switch the computer on. Go to Grub menu. it appears automatically, if not then hold down the shift key until the boot menu appears.


  • In the grub menu, select the “Advanced Options for Ubuntu” and press "Enter".


  • Navigate to the option ......(recovery mode) and press "Enter". Wait for few seconds till presented with different options.


  • Choose “Root Drop into root shell prompt“ press enter key.


  • Option to enter commands appear in the bottom.



  • To remount file system with write access. Command:



    mount -rw -o remount /



  • then to choose the “username” Command:



    ls /home



  • Reset the password.



    passwd username



  • When prompted twice. Type new password



    Enter new UNIX password:
    Retype new UNIX password:


    and type



    exit


  • Back to the recovery mode menu select "resume resumenormal boot" and press "Enter".


  • log in with the new password.







share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Same old method




    • Switch the computer on. Go to Grub menu. it appears automatically, if not then hold down the shift key until the boot menu appears.


    • In the grub menu, select the “Advanced Options for Ubuntu” and press "Enter".


    • Navigate to the option ......(recovery mode) and press "Enter". Wait for few seconds till presented with different options.


    • Choose “Root Drop into root shell prompt“ press enter key.


    • Option to enter commands appear in the bottom.



    • To remount file system with write access. Command:



      mount -rw -o remount /



    • then to choose the “username” Command:



      ls /home



    • Reset the password.



      passwd username



    • When prompted twice. Type new password



      Enter new UNIX password:
      Retype new UNIX password:


      and type



      exit


    • Back to the recovery mode menu select "resume resumenormal boot" and press "Enter".


    • log in with the new password.







    share|improve this answer




























      0














      Same old method




      • Switch the computer on. Go to Grub menu. it appears automatically, if not then hold down the shift key until the boot menu appears.


      • In the grub menu, select the “Advanced Options for Ubuntu” and press "Enter".


      • Navigate to the option ......(recovery mode) and press "Enter". Wait for few seconds till presented with different options.


      • Choose “Root Drop into root shell prompt“ press enter key.


      • Option to enter commands appear in the bottom.



      • To remount file system with write access. Command:



        mount -rw -o remount /



      • then to choose the “username” Command:



        ls /home



      • Reset the password.



        passwd username



      • When prompted twice. Type new password



        Enter new UNIX password:
        Retype new UNIX password:


        and type



        exit


      • Back to the recovery mode menu select "resume resumenormal boot" and press "Enter".


      • log in with the new password.







      share|improve this answer


























        0












        0








        0







        Same old method




        • Switch the computer on. Go to Grub menu. it appears automatically, if not then hold down the shift key until the boot menu appears.


        • In the grub menu, select the “Advanced Options for Ubuntu” and press "Enter".


        • Navigate to the option ......(recovery mode) and press "Enter". Wait for few seconds till presented with different options.


        • Choose “Root Drop into root shell prompt“ press enter key.


        • Option to enter commands appear in the bottom.



        • To remount file system with write access. Command:



          mount -rw -o remount /



        • then to choose the “username” Command:



          ls /home



        • Reset the password.



          passwd username



        • When prompted twice. Type new password



          Enter new UNIX password:
          Retype new UNIX password:


          and type



          exit


        • Back to the recovery mode menu select "resume resumenormal boot" and press "Enter".


        • log in with the new password.







        share|improve this answer













        Same old method




        • Switch the computer on. Go to Grub menu. it appears automatically, if not then hold down the shift key until the boot menu appears.


        • In the grub menu, select the “Advanced Options for Ubuntu” and press "Enter".


        • Navigate to the option ......(recovery mode) and press "Enter". Wait for few seconds till presented with different options.


        • Choose “Root Drop into root shell prompt“ press enter key.


        • Option to enter commands appear in the bottom.



        • To remount file system with write access. Command:



          mount -rw -o remount /



        • then to choose the “username” Command:



          ls /home



        • Reset the password.



          passwd username



        • When prompted twice. Type new password



          Enter new UNIX password:
          Retype new UNIX password:


          and type



          exit


        • Back to the recovery mode menu select "resume resumenormal boot" and press "Enter".


        • log in with the new password.








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 9 at 17:08









        VijayVijay

        1,5851718




        1,5851718















            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅