← Back to team overview

ubuntu-phone team mailing list archive

Re: Lockout

 

W dniu 31.10.2015 o 17:44, Ryan Indignados pisze:
> Is it a glitch?
> 
> I've changed the access code for my bq Aquaris E4.5 by way of the
> Terminal application and it has broken my brain looking for a solution.
> 
> There was a PIN protecting it, and I changed the password with 'passwd'
> in Terminal and next time I turned the screen on and off it presented a
> numerical keypad but the previous PIN was not recognized. 
> 
> It is unclear how to proceed. The least time consuming thing I can
> imagine is to reset it, but without access it's a problem for someone
> with more expertise.
> 
> Thanks for whatever tips or links you can provide.

The type of password (numerical vs. password) is stored separately to
the password itself, I'm afraid. The only supported way of changing that
is through the settings application. Do you have ssh or adb access to
the device?

You'd either need to use `passwd` again to change it to a numerical one
and go to the settings app to change it.

Alternatively, you can find/edit this file:

/var/lib/AccountsService/users/phablet

Find this bit:
[com.ubuntu.AccountsService.SecurityPrivacy]
PasswordDisplayHint=1

And change it to =0 or remove altogether.

Hope this helps,
-- 
Michał Sawicz <michal.sawicz@xxxxxxxxxxxxx>
Canonical Ltd.

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References