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

    Forgot root Password/Paraphrase

    Scheduled Pinned Locked Moved Oneplus One
    12 Posts 6 Posters 1.5k 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.
      • R Offline
        RohitPatil
        last edited by

        Can anyone suggest how to recover the Root password.

        R 2 Replies Last reply Reply Quote 0
        • T Offline
          thomas-k8s
          last edited by

          You may enter into recover mode and mount system partition,chroot and setup your passwd or simply replace passwd file

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

            There is no root password out of the box on Ubuntu Touch. Root access is gained via sudo. When prompted the password is that of the phablet user`. If you can unlock the phone, then you know that password already.

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

            KenedaK 1 Reply Last reply Reply Quote 0
            • KenedaK Offline
              Keneda @arubislander
              last edited by Keneda

              @arubislander
              I think the problem very is that he doesn't remember the unlock code.
              See here.

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
              πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

              arubislanderA 1 Reply Last reply Reply Quote 0
              • arubislanderA Offline
                arubislander @Keneda
                last edited by

                @keneda That is an odd way of phrasing then...

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

                KenedaK 1 Reply Last reply Reply Quote 0
                • KenedaK Offline
                  Keneda @arubislander
                  last edited by

                  @arubislander
                  Maybe because unlock code is also the one used for "root acces" on apps like File Manager or when launching UTTT.

                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                  2023-2024 : Nexus 5 ☠️⚰️✝️
                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                  arubislanderA 1 Reply Last reply Reply Quote 0
                  • arubislanderA Offline
                    arubislander @Keneda
                    last edited by

                    @keneda yes, but if it is forgotten, then the first place you encounter it is to unlock the device. So it would be more likely to be referenced as such.

                    Now it comes over like the device can be unlocked, but that operations cannot be done that require a password prompt. Makes me wonder if an unlock code has been set.

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

                    MoemM 1 Reply Last reply Reply Quote 0
                    • MoemM Offline
                      Moem @arubislander
                      last edited by

                      @arubislander said in Forgot root Password/Paraphrase:

                      Now it comes over like the device can be unlocked, but that operations cannot be done that require a password prompt.

                      It might be set to unlock by swipe.

                      Is currently using an Op5t
                      Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                      arubislanderA 1 Reply Last reply Reply Quote 0
                      • arubislanderA Offline
                        arubislander @Moem
                        last edited by

                        @moem In that case there is no user password, and the answer given will lock the OP out of their device.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        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 0
                        • R Offline
                          ridinoh130 @RohitPatil
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            ridinoh130 @RohitPatil
                            last edited by

                            @rohitpatil

                            When you forget your account password, you can easily reset it using a root account. But when you forget your root account password, then you're in a bad situation. You can't reset your root account password using a regular user account, as a user account can't perform such tasks in general parafrase tool.

                            In some situations, you may need to access an account for which you've lost or forgotten a password.
                            Step 1: Boot into recovery mode. Restart your system. ...
                            Step 2: Drop Out to Root Shell. ...
                            Step 3: Remount the File System with Write-Permissions. ...
                            Step 4: Change the Password.

                            arubislanderA 1 Reply Last reply Reply Quote 0
                            • arubislanderA Offline
                              arubislander @ridinoh130
                              last edited by

                              @ridinoh130 this would work for a regular Ubuntu installation, but not for Ubuntu Touch.

                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                              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 0
                              • First post
                                Last post