authentication is required to change user dataMutilple Authenticate Windows after unlocking Ubuntu 14.10 (...

Important Resources for Dark Age Civilizations?

Which country benefited the most from UN Security Council vetoes?

Why can't we play rap on piano?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Today is the Center

Can a vampire attack twice with their claws using Multiattack?

Languages that we cannot (dis)prove to be Context-Free

What defenses are there against being summoned by the Gate spell?

Why is consensus so controversial in Britain?

Perform and show arithmetic with LuaLaTeX

meaning of に in 本当に?

RSA: Danger of using p to create q

Unable to deploy metadata from Partner Developer scratch org because of extra fields

What's the point of deactivating Num Lock on login screens?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Why is 150k or 200k jobs considered good when there's 300k+ births a month?

Two films in a tank, only one comes out with a development error – why?

Modeling an IP Address

What typically incentivizes a professor to change jobs to a lower ranking university?

How does one intimidate enemies without having the capacity for violence?

Why is Minecraft giving an OpenGL error?

Are astronomers waiting to see something in an image from a gravitational lens that they've already seen in an adjacent image?

What's that red-plus icon near a text?

How to determine what difficulty is right for the game?



authentication is required to change user data


Mutilple Authenticate Windows after unlocking Ubuntu 14.10 ( using gnome metacity)Authentication token manipulation error when I try to change passwordCannot authenticate without a passwordCannot turn off passwordPassword Authentication ProblemsAuthentication failed with the correct password and now I cannot use sudo anymoreHow to change administrator password?Authentication with admin password problemUbuntu 14.04.1 howto set a short non complex password for very kiddies?Single user forgot password can't do updatesadmin passwd lost






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







-1















I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.










share|improve this question


















  • 1





    The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

    – hexafraction
    Nov 24 '12 at 0:52








  • 1





    How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

    – Flimm
    Nov 26 '12 at 14:33


















-1















I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.










share|improve this question


















  • 1





    The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

    – hexafraction
    Nov 24 '12 at 0:52








  • 1





    How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

    – Flimm
    Nov 26 '12 at 14:33














-1












-1








-1








I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.










share|improve this question














I set administrator password to blank. Now, I can't install new programs (message see in title), or change the admin password ("change" button grayed out). I tried a suggested fix from inside the terminal, but can't type anything into the sudo authentication field.







password authentication






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '12 at 23:20









arminmarminm

611




611








  • 1





    The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

    – hexafraction
    Nov 24 '12 at 0:52








  • 1





    How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

    – Flimm
    Nov 26 '12 at 14:33














  • 1





    The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

    – hexafraction
    Nov 24 '12 at 0:52








  • 1





    How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

    – Flimm
    Nov 26 '12 at 14:33








1




1





The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

– hexafraction
Nov 24 '12 at 0:52







The sudo authentication field should stay completely blank as you type. It never displays asterisks, even

– hexafraction
Nov 24 '12 at 0:52






1




1





How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

– Flimm
Nov 26 '12 at 14:33





How did you set the administrator password to blank? "administrator" is a term used on Windows, on Linux we have a root user, and users with administrator privileges, so it's unclear what you mean.

– Flimm
Nov 26 '12 at 14:33










3 Answers
3






active

oldest

votes


















2














OK, there's two parts to this. First, to answer the question you asked:



Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.



However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:



adduser youraccountname sudo
passwd youraccountname
shutdown -r now


This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.






share|improve this answer































    0














    I had the same problem. Run the following commands in your terminal:
    sudo apt-get update
    sudo apt-get upgrade






    share|improve this answer































      -1














      If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.



      So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.



      Greetings, Bagsmi.






      share|improve this answer


























      • He can't run it as root unless he's in single user mode, chroot or another root shell...

        – Dominic Hayes
        May 1 '16 at 16:38












      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f221145%2fauthentication-is-required-to-change-user-data%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      OK, there's two parts to this. First, to answer the question you asked:



      Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.



      However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:



      adduser youraccountname sudo
      passwd youraccountname
      shutdown -r now


      This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.






      share|improve this answer




























        2














        OK, there's two parts to this. First, to answer the question you asked:



        Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.



        However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:



        adduser youraccountname sudo
        passwd youraccountname
        shutdown -r now


        This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.






        share|improve this answer


























          2












          2








          2







          OK, there's two parts to this. First, to answer the question you asked:



          Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.



          However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:



          adduser youraccountname sudo
          passwd youraccountname
          shutdown -r now


          This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.






          share|improve this answer













          OK, there's two parts to this. First, to answer the question you asked:



          Reboot into single user mode (see http://www.debuntu.org/recover-root-password-single-user-mode-and-grub if you don't know how) and set the password for root.



          However, I don't think that will solve your actual problem. It sounds like the real problem is that the account you normally log in as is not a member of the sudo group - the root account on Ubuntu normally does not have a password, and is not allowed to log in directly. So, instead, I would recommend that you boot into single user mode as outlined above, then issue the following commands:



          adduser youraccountname sudo
          passwd youraccountname
          shutdown -r now


          This will make sure that your user is allowed to become root, and will make sure that your user has a password which you can use when prompted. Once the machine finishes rebooting (the third command there), everything should be back to normal.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 23 '12 at 23:43









          Jim SalterJim Salter

          3,90011133




          3,90011133

























              0














              I had the same problem. Run the following commands in your terminal:
              sudo apt-get update
              sudo apt-get upgrade






              share|improve this answer




























                0














                I had the same problem. Run the following commands in your terminal:
                sudo apt-get update
                sudo apt-get upgrade






                share|improve this answer


























                  0












                  0








                  0







                  I had the same problem. Run the following commands in your terminal:
                  sudo apt-get update
                  sudo apt-get upgrade






                  share|improve this answer













                  I had the same problem. Run the following commands in your terminal:
                  sudo apt-get update
                  sudo apt-get upgrade







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 49 mins ago









                  UbuntuUbuntu

                  13




                  13























                      -1














                      If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.



                      So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.



                      Greetings, Bagsmi.






                      share|improve this answer


























                      • He can't run it as root unless he's in single user mode, chroot or another root shell...

                        – Dominic Hayes
                        May 1 '16 at 16:38
















                      -1














                      If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.



                      So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.



                      Greetings, Bagsmi.






                      share|improve this answer


























                      • He can't run it as root unless he's in single user mode, chroot or another root shell...

                        – Dominic Hayes
                        May 1 '16 at 16:38














                      -1












                      -1








                      -1







                      If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.



                      So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.



                      Greetings, Bagsmi.






                      share|improve this answer















                      If you didn't ever set up a password you do not have to recover it but you just have to create it in System settings/User Account. There, click on Password.



                      So, let's create a new password that you will use as administrator for upgrading, installations and others. In few words, if you didn't ever create a password, create your password and use it when required.



                      Greetings, Bagsmi.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Apr 27 '14 at 23:45









                      jkt123

                      2,6441321




                      2,6441321










                      answered Apr 27 '14 at 18:50









                      user275071user275071

                      1




                      1













                      • He can't run it as root unless he's in single user mode, chroot or another root shell...

                        – Dominic Hayes
                        May 1 '16 at 16:38



















                      • He can't run it as root unless he's in single user mode, chroot or another root shell...

                        – Dominic Hayes
                        May 1 '16 at 16:38

















                      He can't run it as root unless he's in single user mode, chroot or another root shell...

                      – Dominic Hayes
                      May 1 '16 at 16:38





                      He can't run it as root unless he's in single user mode, chroot or another root shell...

                      – Dominic Hayes
                      May 1 '16 at 16:38


















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f221145%2fauthentication-is-required-to-change-user-data%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      List of shipwrecks in 1808...

                      Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                      Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...