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

    Sudo password?

    Scheduled Pinned Locked Moved Solved Support
    10 Posts 3 Posters 387 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.
      • M Offline
        Mojomagi
        last edited by

        Trying to install express vpn and I noticed my log in code works to open the terminal but when asked again after sudo it says incorrect password. Looking online I also tried ubuntu and ubports which didn't work. I also checked the telegram faq. Sorry for the noob question and sorry if this is not in the correct thread. I don't want to get locked out haha. I have a screen shot of the teminal comands used with the warning of the 3rd attempted incorect PW but I dont see a way to post here. Cheers o/

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

          @Mojomagi Sudo password should be your lockscreen password and the one you used opening the Terminal app. Not sure what's happening to yours though. Changing password via terminal commands is not recommended BTW.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            Mojomagi @kugiigi
            last edited by Mojomagi

            The four digit pin gets me into the terminal but says incorrect password after initiating the sudo command. I've tried several times hoping I fat fingered a key but no it doesn't work. Also I am not trying to change the PW just doesn't seem that I know the password. Ubuntu T installed without issues and has only been on the phone a few days

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Online
              arubislander @Mojomagi
              last edited by

              @Mojomagi that is really weird, since as @kugiigi said, your user pin is also the password you enter in the consule wjem prompted by sudo.

              If you do: sudo ls, Do you also get 'invalid password' after entering your pin?

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

              M 2 Replies Last reply Reply Quote 0
              • M Offline
                Mojomagi @arubislander
                last edited by

                @arubislander
                phablet@ubuntu-phablet:~$ sudo ls
                Documents Music Videos
                Downloads Pictures
                No PW for ls but I'm not sure what you had there cause it looks more like a 1 not an lowercase "L".

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

                  @arubislander It may have worked this time but I came yo with an error I will have to look into.
                  phablet@ubuntu-phablet:~$ ls Downloads
                  '20220718_174553 (1).jpg'
                  20220718_174553.jpg
                  expressvpn-3.68.0.2-1-x86_64.pkg.tar.xz
                  phablet@ubuntu-phablet:~$ sudo dpkg -i
                  [sudo] password for phablet:
                  Sorry, try again.
                  [sudo] password for phablet:
                  dpkg: error: unable to access the dpkg database directory /var/lib/dpkg: Read-only file system
                  phablet@ubuntu-phablet:~$
                  May its just a bit picky and I will try a few more commands other than this one till I look at it more. Thanks !!

                  arubislanderA 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mojomagi
                    last edited by

                    Ok mark this as closed please. Seems the numbers might be touchy or I wasn't doing something corcorrectly. Here this shows the PW worked.
                    Thanks everyone!!
                    phablet@ubuntu-phablet:~$ sudo -l
                    [sudo] password for phablet:
                    Matching Defaults entries for phablet on
                    ubuntu-phablet:
                    env_reset, mail_badpass,
                    secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

                    User phablet may run the following
                    commands on ubuntu-phablet:
                    (ALL : ALL) ALL
                    phablet@ubuntu-phablet:~$

                    1 Reply Last reply Reply Quote 1
                    • M Mojomagi has marked this topic as solved on
                    • arubislanderA Online
                      arubislander @Mojomagi
                      last edited by

                      @Mojomagi, yes it was an -l-, but in a monospaced font to signify it is code, and not part of the text. Anyhow, it was to check that you can successfully enter your password with sudo. The fact that you did not need to enter you password that time only means it was successfully entered earlier, for a previous command with sudo.

                      As you yourself realized, there was not a configuration error, just an input error.

                      πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                      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
                      • arubislanderA Online
                        arubislander @Mojomagi
                        last edited by

                        @Mojomagi Yes, installing 'random' packages on UT will not work ootb, because of the read-only filesystem. Does ExpressVPN have any way to install their software for just the current user in the user's home directory?

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

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mojomagi @arubislander
                          last edited by

                          @arubislander I will be honest I'm not sure, I'm really new at this. I saw that UT supports many ubuntu 20.04 programs so I thought I would try to install express vpn since I have a subscription. This is a second phone to me so if I make mistakes I can always start over and learn from what I did wrong. My research led me to think maby the drive wasn't mounted correctly but I haven't had time to check yet. Its very possible express vpn wont work on UT but I will look into the other installation method you spoke of. Thanks!!

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