Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Default sudo password

    Support
    10
    14
    2428
    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.
    • V
      vandys last edited by

      I had a hard time finding this! When you open a terminal (or get an adb shell), you're the user "phablet". In the past the default password was "phablet" or "ubuntu". But with the latest UBports it'll be your screen unlock PIN (or, apparently, password, but I used the PIN option).

      I'm posting this here in the hopes that somebody looking for this answer will find it quickly!

      Flohack 1 Reply Last reply Reply Quote 1
      • Flohack
        Flohack @vandys last edited by

        @vandys Sorry to demotivate you, but the terminal / root password was always the screen unlock PIN at least on my BQ E5 xD

        1 Reply Last reply Reply Quote 1
        • U
          UKPhil last edited by

          Same here with my E5 and M10''s or at least it was when I downloaded file manager and wanted to go in the root. When I first read this I was not sure if I was missing something.

          1 Reply Last reply Reply Quote 0
          • V
            vandys last edited by

            I was basing on:

            https://howto.cactus.de/index.php/Ubuntu_Touch_on_Google_Nexus_4

            and

            https://askubuntu.com/questions/596368/what-is-the-default-root-password-for-current-ubuntu-touch

            but if my posting seems too lame, please just have an admin delete it, NP.

            U 1 Reply Last reply Reply Quote 0
            • U
              UKPhil @vandys last edited by

              @vandys I am always under the impression that no question is ever lame. If you are unsure about something, this is the place to ask it and no one should look down on you for taking the time to ask it. I ask loads of questions that more technical people may think are lame, but for me I do not understand it, so I ask 🙂

              1 Reply Last reply Reply Quote 4
              • ichibrosan
                ichibrosan last edited by

                Thanks @vandys That was just what I was looking for. I am a new UBports user with a PinePhone and I am just getting my bearings.

                1 Reply Last reply Reply Quote 0
                • G
                  gischpelino last edited by

                  Long: sudo always asked for the password of the logged in user who uses sudo. The user has to be in a sudo privileged group to use sudo.
                  Short: your own password.

                  1 Reply Last reply Reply Quote 0
                  • U
                    ubports-user last edited by

                    I always got an error message when running commands with sudo on my ubuntu touch device (Volla Phone).
                    Then I decided to connect via SSH out of curiosity and the login just worked fine with the device PIN.

                    So the problem was related to the input method on that device.

                    Just for completeness, maybe this helps some users that wonder why sudo fails.

                    AppLee A 2 Replies Last reply Reply Quote 0
                    • AppLee
                      AppLee @ubports-user last edited by

                      Hi, @ubports-user
                      This issue seems to be specific to the volla phone.
                      It works fine with my N5.

                      1 Reply Last reply Reply Quote 0
                      • A
                        aarontheissueguy @ubports-user last edited by

                        @ubports-user Works fine with Vollaphone for me. Cant complain.

                        1 Reply Last reply Reply Quote 0
                        • B
                          benkov last edited by

                          I am using the FP2 and am stuck with the terminal: Starting the application, it asks for authentication and neither phablet, ubuntu or the pincode/passphrase works as root password. Can't even type in terminal because the authentication screen is on top and without getting through it won't let me access terminal. How can I fix this?

                          dobey 1 Reply Last reply Reply Quote 0
                          • dobey
                            dobey @benkov last edited by

                            @benkov Whatever your unlock pin/passphrase is, is what you need to type into the authentication dialog when opening the terminal app.

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              benkov @dobey last edited by

                              @dobey and that is exactly the problem I am facing and why I am seeking help here: it does not work. the pin which is set to unlock the phone does not work for authentication.

                              dobey 1 Reply Last reply Reply Quote 0
                              • dobey
                                dobey @benkov last edited by

                                @benkov Then there is some other problem, such as the wrong thing being entered, because this is exactly what is expected and it does work (I just double checked on my nexus 4).

                                In either case, it has nothing to do with sudo. You might want to open your own topic in the Fairphone 2 ports section instead, but it sounds like something perhaps done to your phone itself.

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