lslogins displays user and email info

Bug #1638995 reported by Victor gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned
snapd (Ubuntu)
Triaged
Low
Unassigned

Bug Description

story: lslogins displays only the user name on desktop while on core displays both the user name and email registered.

Environment:
ubuntu-core-16-amd64.img.xz

Products:db,pi3,amd64

STEPS:
1º Boot core
2º Run console-conf
3º ssh to core
4º $ lslogins

Actual result:: 4th step displays the current user and email details instead of just displaying the user name as it currently does on desktop.

Expected: lslogins shouldn't list the user's email

description: updated
description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

i am not even sure we actually have the full name of the user when querying U1. i also dont know if snapd does not perhaps use the hash it added to the GECOS data...

lets add it to snapd who owns "snap create-user"

Changed in snapd (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1638995] Re: lslogins displays user and email info

On 11 November 2016 at 00:32, Oliver Grawert <email address hidden> wrote:

> i am not even sure we actually have the full name of the user when
> querying U1.

We don't.

> i also dont know if snapd does not perhaps use the hash it
> added to the GECOS data...
>

It's the user's openid identifier, it turns out. I don't think snapd makes
use of it, but am not sure.

> lets add it to snapd who owns "snap create-user"
>

Revision history for this message
Michael Vogt (mvo) wrote :

It is indeed the openid identifier and we are not making use of it currently. But we will be in the future when we sync keys as it is the unique identifier. In order to show a nice username we will need support from the store to provide the full name.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I guess maybe we could fill out the real name properly when snap login is
run, or something like that? The store won't map email -> real name without
some kind of auth.

On 17 November 2016 at 20:51, Michael Vogt <email address hidden>
wrote:

> It is indeed the openid identifier and we are not making use of it
> currently. But we will be in the future when we sync keys as it is the
> unique identifier. In order to show a nice username we will need support
> from the store to provide the full name.
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to Snappy.
> https://bugs.launchpad.net/bugs/1638995
>
> Title:
> lslogins displays user and email info
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1638995/+subscriptions
>

Michael Vogt (mvo)
Changed in snappy:
status: New → Triaged
importance: Undecided → Low
Changed in snapd (Ubuntu):
status: Confirmed → Triaged
Michael Vogt (mvo)
affects: snappy → snapd
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.