2

In Terminal app, as default user phablet I am doing su and getting Authentication failure for everything.

As per previous suggestions I have tried ubuntu, phablet, an empty password, and the current device PIN, all without success. I entered the PIN as the device Passphrase instead (in Lock security) and tried that, without success.

Ideas?

6
  • 1
    Have you run sudo passwd root? You probably need to set one. Forgive me if I'm wrong. Aug 23, 2015 at 22:28
  • 1
    That returns Authentication token manipulation error as per this bug apparently. Thanks anyway.
    – Sqerstet
    Aug 23, 2015 at 22:38
  • That's disappointing. Aug 23, 2015 at 22:47
  • 3
    You can become root with sudo su and the lockscreen password (I guess it's possible to log you in as root without askiing for a password if you haven't set a lockscreen code but I haven't tried it). Aug 25, 2015 at 15:13
  • 1
    @SledgeHammer Works! Please add that as an answer.
    – Sqerstet
    Aug 30, 2015 at 7:54

2 Answers 2

4

You can become root by typing sudo su in the mobile terminal and providing the lockscreen password if required.

This is a standard procedure which also works for the regular version of Ubuntu.

1
  • for some reason, this isn't enough to edit /etc/hosts though... any clues?
    – cregox
    Oct 3, 2021 at 11:50
2

Try this: sudo -s That one has worked on my device.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .