UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Onepluse6T change adduser and change password not work, passwd: Authentication token manipulation error

    Scheduled Pinned Locked Moved Oneplus 6/6T
    5 Posts 2 Posters 146 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • L Offline
        liam
        last edited by

        when I used command 'adduser' add a new user and change password by 'passwd' command, it show below error:
        -- passwd: Authentication token manipulation error
        -- passwd: password unchanged

        and used 'journalctl -t passwd' check the log, show 'pam_extrausers(passwd:chauthtok): user "newuser" does not exist in /var/lib/extrausers/passwd', and i added the user info in the show path try passwd command again, and it can update the password show:
        -- Enter new UNIX password:
        -- Retype new UNIX password:
        -- passwd: password updated successfully

        but actually it doesn't work,can not use the password login the user, and i run again the command ''journalctl -t passwd'' , it show error "gkr-pam: couldn't update the login keyring password: no old password was entered", I don't know how to solve this error, any guys can help this? thanks in advance!

        1 Reply Last reply Reply Quote 0
        • arubislanderA Online
          arubislander
          last edited by

          Before going into the issue you are posting about, could you tell us what you are trying to achieve? Do you want to make your UT device multi user? Are you trying to change the password of the phablet user? Please let us know what your goal is, so we can avoid an X Y situation.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            liam @arubislander
            last edited by

            @arubislander thanks your response, And I want to use multiple user in my devices, so I add a new user and set the password, but it doesn't work for passwd, I search many solved case ,but didn't work for me, could you help give some advise? thanks!

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Online
              arubislander @liam
              last edited by

              @liam I am afraid that even if you could add a new user to your device, it would not work. At the moment UT is not yet ready to be used in a multi-user state. Too many parts of the OS still assume that phablet is the current and only user.

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                liam @arubislander
                last edited by

                @arubislander ok, Thanks for your answer.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post