Default sudo password?
-
What's is default Sudo password for x306x?
-
@drbsin Whatever you set as your paassphrase on first run. The pincode you use to unlock the phone.
-
@Ian passphrase or lockscreen pin not working!
-
@drbsin Strange, it works for me. I just tried it on my Vollaphone X and I'm fairly sure it worked on my Nexus 5 and my BQ Aquaris 5.
The same passcode or passphrase you use to access the terminal should work for sudo.
-
@Ian I'm using lenovo x306x tablet with latest devel flashable for lte. tried again by changing the passphrase but getting authentication failure error.
-
@drbsin Does your passphrase include any spaces?
-
@drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.
-
@kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?
-
@kugiigi said in Default sudo password?:
@drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.
No, my bad. I was trying to get root shell using su. Sudo is working with current passphrase. Actually, I should ask if I can get a graphical root login (instead of phablet) in ubuntu touch like modifying the greeter in ubuntu desktop.
-
@Ian said in Default sudo password?:
@kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?
Can you shed some light on this process?
Is this using recovery or fastboot or spflashtool? -
This post is deleted! -
@drbsin Using the UT installer.
-
@Ian said in Default sudo password?:
@kugiigi If that has happened would the easiest way out be to reinstall with the option to wipe user data unticked? Then start up and set password/passphrase?
I'm not sure. I've seen people having this issue on telegram/forum but I don't remember what was the solution
But my guess is that wiping data would fix it but of course you'd need to back up and restore your data.
@drbsin said in Default sudo password?:
@kugiigi said in Default sudo password?:
@drbsin Did you try to change the password via a command? Because that would break it since the system does something different and expects it to be changed via the settings app.
No, my bad. I was trying to get root shell using su. Sudo is working with current passphrase. Actually, I should ask if I can get a graphical root login (instead of phablet) in ubuntu touch like modifying the greeter in ubuntu desktop.
No, currently UT is hardcoded to use the phablet user. It doesn't support multi-user yet.
-
@drbsin You can also change the password by chrooting into the rootfs from the recovery and do
passwd phablet
as root. This works as UT doesn't support full disk encryption yet (although it has been showcased on FP5). -
This post is deleted!