Bug 85758 - Cannot authorize as password-less user
Summary: Cannot authorize as password-less user
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium enhancement
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-02 13:55 UTC by Sasha2048
Modified: 2018-08-20 21:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sasha2048 2014-11-02 13:55:12 UTC
I use passwordless user on my notebook.

I.e. (extract from /etc/shadow):
sasha::15937:0:99999:7:::

However this user is allowed to do sudo without password:
sasha ALL=NOPASSWD: ALL

This works OK when I work with console (e.g. do "sudo dpkg -i ...").
However, when using GUI to install a package (e.g. qapt-deb-installer), it shows a policy kit window to authorize, which doesn't accept neither empty password, nor any other password (unlike for example kdm login).

IMO, it should accept empty or any password (as kdm login does).

P.S.: As a workaround, I created (fake) another user, which also is allowed to sudo, but still has password.
Comment 1 GitLab Migration User 2018-08-20 21:34:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/16.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.