[systemd-devel] [PATCH] sysusers: remove additional finger information from gecos

Sami Kerola kerolasa at iki.fi
Sat Feb 7 16:34:44 PST 2015


On 7 February 2015 at 23:50, Mantas Mikulėnas <grawity at gmail.com> wrote:
> On Sun, Feb 8, 2015 at 1:38 AM, Sami Kerola <kerolasa at iki.fi> wrote:
>>
>> This change removes garbage from authentication messages if chfn(1) has
>> been used.  For example;
>>
>> $ timedatectl set-timezone Europe/London
>> [...]
>> Authenticating as: Sami Kerola,office,officephone,homephone, (kerolasa)
>> ---
>>  src/sysusers/sysusers.c | 4 ++++
>>  1 file changed, 4 insertions(+)
>
>
> This authentication prompt is part of polkit's pkttyagent (src/polkitagent),
> it has nothing to do with systemd-sysusers.
>
> (The systemd-sysusers tool is just for adding *new* accounts to
> /etc/passwd... As far as I can see, i->description is only used for
> filtering out duplicates.)

Hi Mantas,

Oh, I see. No wonder I found so few gecos references from systemd
source tree. With your hint I found the following function that might
be the one needing adjustment.

http://cgit.freedesktop.org/polkit/tree/src/polkitagent/polkitagenttextlistener.c#n336

-- 
Sami Kerola
http://www.iki.fi/kerolasa/


More information about the systemd-devel mailing list