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

    Default sudo password?

    Scheduled Pinned Locked Moved Lenovo Tab M10 HD (2nd Gen)
    15 Posts 5 Posters 310 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.
      • IanI Offline
        Ian @drbsin
        last edited by

        @drbsin Does your passphrase include any spaces?

        D 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @drbsin
          last edited by

          @drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.

          IanI D 2 Replies Last reply Reply Quote 0
          • IanI Offline
            Ian @kugiigi
            last edited by

            @kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?

            D K 2 Replies Last reply Reply Quote 0
            • D Offline
              drbsin @kugiigi
              last edited by

              @kugiigi said in Default sudo password?:

              @drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.

              No, my bad. I was trying to get root shell using su. Sudo is working with current passphrase. Actually, I should ask if I can get a graphical root login (instead of phablet) in ubuntu touch like modifying the greeter in ubuntu desktop.

              1 Reply Last reply Reply Quote 0
              • D Offline
                drbsin @Ian
                last edited by

                @Ian said in Default sudo password?:

                @kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?

                Can you shed some light on this process?
                Is this using recovery or fastboot or spflashtool?

                IanI 1 Reply Last reply Reply Quote 0
                • D Offline
                  drbsin @Ian
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • IanI Offline
                    Ian @drbsin
                    last edited by

                    @drbsin Using the UT installer.

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kugiigi @Ian
                      last edited by

                      @Ian said in Default sudo password?:

                      @kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?

                      I'm not sure. I've seen people having this issue on telegram/forum but I don't remember what was the solution 😅 But my guess is that wiping data would fix it but of course you'd need to back up and restore your data.

                      @drbsin said in Default sudo password?:

                      @kugiigi said in Default sudo password?:

                      @drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.

                      No, my bad. I was trying to get root shell using su. Sudo is working with current passphrase. Actually, I should ask if I can get a graphical root login (instead of phablet) in ubuntu touch like modifying the greeter in ubuntu desktop.

                      No, currently UT is hardcoded to use the phablet user. It doesn't support multi-user yet.

                      1 Reply Last reply Reply Quote 0
                      • ikozI Offline
                        ikoz @drbsin
                        last edited by

                        @drbsin You can also change the password by chrooting into the rootfs from the recovery and do passwd phablet as root. This works as UT doesn't support full disk encryption yet (although it has been showcased on FP5).

                        May the source be with you

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          DenMoore @ikoz
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post