• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 5 May 2024, 15:14

      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 5 May 2024, 18:38 Reply Quote 0
      • K Offline
        kugiigi @Mojomagi
        last edited by 5 May 2024, 18:38

        @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 5 May 2024, 18:50 Reply Quote 0
        • M Offline
          Mojomagi @kugiigi
          last edited by Mojomagi 5 May 2024, 19:02 5 May 2024, 18:50

          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

          A 1 Reply Last reply 5 May 2024, 19:35 Reply Quote 0
          • A Offline
            arubislander @Mojomagi
            last edited by 5 May 2024, 19:35

            @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 5 May 2024, 19:50 Reply Quote 0
            • M Offline
              Mojomagi @arubislander
              last edited by 5 May 2024, 19:50

              @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".

              A 1 Reply Last reply 6 May 2024, 09:09 Reply Quote 0
              • M Offline
                Mojomagi @arubislander
                last edited by 5 May 2024, 20:04

                @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 !!

                A 1 Reply Last reply 6 May 2024, 09:11 Reply Quote 0
                • M Offline
                  Mojomagi
                  last edited by 5 May 2024, 20:20

                  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 5 May 2024, 20:20
                  • A Offline
                    arubislander @Mojomagi
                    last edited by 6 May 2024, 09:09

                    @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
                    • A Offline
                      arubislander @Mojomagi
                      last edited by 6 May 2024, 09:11

                      @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 6 May 2024, 14:29 Reply Quote 0
                      • M Offline
                        Mojomagi @arubislander
                        last edited by 6 May 2024, 14:29

                        @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
                        9 out of 10
                        • First post
                          9/10
                          Last post