Bug 85758

Summary: Cannot authorize as password-less user
Product: PolicyKit Reporter: Sasha2048 <sasha2048>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED MOVED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.