Can't sudo on proposed image on mako

Bug #1352296 reported by Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Invalid
Undecided
Michael Terry

Bug Description

In the past I used sudo when connected to my phone via phablet-shell. The password used to be phablet, but this no longer works. I'm told the password is now blank but that doesn't work either

alan@deep-thought:~$ phablet-shell
start: Job is already running: ssh
/home/alan/.ssh/known_hosts updated.
Original contents retained as /home/alan/.ssh/known_hosts.old
9 KB/s (399 bytes in 0.040s)
Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
Welcome to Ubuntu Utopic Unicorn (development branch) (GNU/Linux 3.4.0-5-mako armv7l)

 * Documentation: https://help.ubuntu.com/
Last login: Mon Aug 4 12:09:44 2014 from localhost.localdomain
phablet@ubuntu-phablet:~$ system-image-cli --info
current build number: 169
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/utopic-proposed
last update: 2014-08-04 09:03:59
version version: 169
version ubuntu: 20140804
version device: 20140728.1
phablet@ubuntu-phablet:~$ sudo -l
[sudo] password for phablet: (tried phablet here)
Sorry, try again.
[sudo] password for phablet: (tried pressing enter here)
Sorry, try again.
[sudo] password for phablet:
sudo: 2 incorrect password attempts

Changed in livecd-rootfs (Ubuntu):
assignee: nobody → Michael Terry (mterry)
Revision history for this message
Michael Terry (mterry) wrote :

I can't reproduce the problem with a blank password.

Keep in mind that the password now persists across flashes (unless you use --wipe). Do you have an old password set from testing password support?

I'm interested in the contents of /var/lib/extrausers/shadow, to see if your password is really blank.

Changed in livecd-rootfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„ (popey) wrote :

My phone has recently (last week) been cleanly wiped and setup again. I haven't set/changed any passwords at all.

alan@deep-thought:~$ adb shell grep phablet /var/lib/extrausers/shadow
phablet:$6$lIK1ah1P$NHtK44tvy7VSVZnqANjOJDRUaPn7kjpc7fNKoQRkPkABpF3Pz/NlotGir78FJ73FTOv1zy7j9GQkKI6IUrjsz1:16282:0:99999:7:::

Revision history for this message
Michael Terry (mterry) wrote :

Well your shadow file definitely shows some sort of password set. If it didn't, it would look like:

phablet::16286:0:99999:7:::

So sudo is behaving correctly. The mystery is why there is a password set when you don't believe there should be one.

Revision history for this message
Michael Terry (mterry) wrote :

We realized this was because Alan had set a PIN.

Changed in livecd-rootfs (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.