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 270 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.
      • D Online
        drbsin
        last edited by

        What's is default Sudo password for x306x?

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

          @drbsin Whatever you set as your paassphrase on first run. The pincode you use to unlock the phone.

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

            @Ian passphrase or lockscreen pin not working!

            IanI ikozI 2 Replies Last reply Reply Quote 0
            • IanI Online
              Ian @drbsin
              last edited by Ian

              @drbsin Strange, it works for me. I just tried it on my Vollaphone X and I'm fairly sure it worked on my Nexus 5 and my BQ Aquaris 5.

              The same passcode or passphrase you use to access the terminal should work for sudo.

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

                @Ian I'm using lenovo x306x tablet with latest devel flashable for lte. tried again by changing the passphrase but getting authentication failure error.

                IanI K 2 Replies Last reply Reply Quote 0
                • IanI Online
                  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 Online
                      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 Online
                        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 Online
                          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 Online
                            drbsin @Ian
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • IanI Online
                              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