Debian password change discarded

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











up vote
0
down vote

favorite












I use Volumio, built on Debian. I want to change the password for the default volumio user, so I type:



volumio@volumio:~$ sudo passwd
[sudo] password for volumio:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
volumio@volumio:~$ reboot


When the device restarts, the new password doesn't work but the old one does.



What have I done wrong?







share|improve this question
























    up vote
    0
    down vote

    favorite












    I use Volumio, built on Debian. I want to change the password for the default volumio user, so I type:



    volumio@volumio:~$ sudo passwd
    [sudo] password for volumio:
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    volumio@volumio:~$ reboot


    When the device restarts, the new password doesn't work but the old one does.



    What have I done wrong?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I use Volumio, built on Debian. I want to change the password for the default volumio user, so I type:



      volumio@volumio:~$ sudo passwd
      [sudo] password for volumio:
      Enter new UNIX password:
      Retype new UNIX password:
      passwd: password updated successfully
      volumio@volumio:~$ reboot


      When the device restarts, the new password doesn't work but the old one does.



      What have I done wrong?







      share|improve this question












      I use Volumio, built on Debian. I want to change the password for the default volumio user, so I type:



      volumio@volumio:~$ sudo passwd
      [sudo] password for volumio:
      Enter new UNIX password:
      Retype new UNIX password:
      passwd: password updated successfully
      volumio@volumio:~$ reboot


      When the device restarts, the new password doesn't work but the old one does.



      What have I done wrong?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 25 at 16:31









      Gruber

      1034




      1034




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          You are resetting root's password when using sudo passwd. The command literally means 'run passwd as root'.



          To change the user's password, you simply use passwd. This command is meant to be used by standard users. This works because the command file is assigned the 'suid' bit.






          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%2f426488%2fdebian-password-change-discarded%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            You are resetting root's password when using sudo passwd. The command literally means 'run passwd as root'.



            To change the user's password, you simply use passwd. This command is meant to be used by standard users. This works because the command file is assigned the 'suid' bit.






            share|improve this answer
























              up vote
              3
              down vote



              accepted










              You are resetting root's password when using sudo passwd. The command literally means 'run passwd as root'.



              To change the user's password, you simply use passwd. This command is meant to be used by standard users. This works because the command file is assigned the 'suid' bit.






              share|improve this answer






















                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                You are resetting root's password when using sudo passwd. The command literally means 'run passwd as root'.



                To change the user's password, you simply use passwd. This command is meant to be used by standard users. This works because the command file is assigned the 'suid' bit.






                share|improve this answer












                You are resetting root's password when using sudo passwd. The command literally means 'run passwd as root'.



                To change the user's password, you simply use passwd. This command is meant to be used by standard users. This works because the command file is assigned the 'suid' bit.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 25 at 18:03









                Pedro

                59429




                59429






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426488%2fdebian-password-change-discarded%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?