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

    sudo passwd root passwd:认证令牌操作错误????helphelp

    Scheduled Pinned Locked Moved Google Nexus 5
    nexus 5
    12 Posts 5 Posters 1.1k Views 1 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
        lxj
        last edited by

        What if the root password cannot be changed? help me

        arubislanderA 1 Reply Last reply Reply Quote 0
        • MrT10001M Offline
          MrT10001
          last edited by

          Have you tried resetting the operating system, or even re-installing? From past experience on Linux changing the root password can be hit or miss.

          Xiaomi Redmi Note 7.... And more...
          I have too many devices...

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            lxj @MrT10001
            last edited by

            @mrt10001 said in sudo passwd root passwd:认证令牌操作错误????helphelp:

            Have you tried resetting the operating system, or even re-installing? From past experience on Linux changing the root password can be hit or miss.

            I reinstalled it, still the same

            LakotaubpL 1 Reply Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001
              last edited by MrT10001

              When I install UT I set a lock code. This is the sudo/root password when I use terminal. Going back a bit, the root password used to always be "phablet". This is what I did in Ubuntu and it generally worked, but sometimes didn't. This process may work on UT.

              Xiaomi Redmi Note 7.... And more...
              I have too many devices...

              L 1 Reply Last reply Reply Quote 1
              • L Offline
                lxj @MrT10001
                last edited by

                @mrt10001 still not

                MrT10001M 2 Replies Last reply Reply Quote 0
                • MrT10001M Offline
                  MrT10001 @lxj
                  last edited by

                  @lxj Using Google came across this.

                  Xiaomi Redmi Note 7.... And more...
                  I have too many devices...

                  1 Reply Last reply Reply Quote 0
                  • MrT10001M Offline
                    MrT10001 @lxj
                    last edited by

                    @lxj The other thing is the root file system in UT is read only for security, see here so using sudo may break the system as you have to make it writeable.

                    Xiaomi Redmi Note 7.... And more...
                    I have too many devices...

                    L 1 Reply Last reply Reply Quote 1
                    • L Offline
                      lxj @MrT10001
                      last edited by

                      @mrt10001 said in sudo passwd root passwd:认证令牌操作错误????helphelp:

                      @lxj The other thing is the root file system in UT is read only for security, see here so using sudo may break the system as you have to make it writeable.

                      Yes, but if I don't have root permission, I can't do anything, but I can't change the root password,,,,,,,

                      MrT10001M AppLeeA 2 Replies Last reply Reply Quote 0
                      • MrT10001M Offline
                        MrT10001 @lxj
                        last edited by

                        @lxj Question - do you have a root password already?

                        Xiaomi Redmi Note 7.... And more...
                        I have too many devices...

                        1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @lxj
                          last edited by

                          @lxj Sorry if this should be obvious to me but is the problem on the Nexus 5 or your pc/laptop?

                          1 Reply Last reply Reply Quote 0
                          • KenedaK Keneda referenced this topic on
                          • arubislanderA Online
                            arubislander @lxj
                            last edited by

                            @lxj said in sudo passwd root passwd:认证令牌操作错误????helphelp:

                            What if the root password cannot be changed? help me

                            In order to help you we need to understand what it is you are trying to do, and your reasoning behind it. Why do you think you need to change the root password?

                            Just like on regular Ubuntu nowadays, Ubuntu Touch comes with a disabled root account. Root level access can be achieved using sudo in the terminal.
                            The default (and only) user is phablet. The password for this user is whatever security code you set up for unlocking your phone.

                            🇦🇼 🇳🇱 🇺🇸 🇪🇸
                            Happily running Ubuntu Touch
                            Google Pixel 3a (20.04 DEV)
                            JingPad (24.04 preview)
                            Meizu Pro 5 (16.04 DEV)

                            1 Reply Last reply Reply Quote 3
                            • AppLeeA Offline
                              AppLee @lxj
                              last edited by

                              @lxj
                              Also the filesystem is readonly for many reasons.
                              You should try and read the forum to learn more about Ubuntu Touch.
                              Have you checked the FAQ:
                              https://forums.ubports.com/topic/6838/frequently-asked-questions

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