diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2013-12-02 13:34:02 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2013-12-03 13:33:47 +0100 |
| commit | 593292b27221d05d2d43485d8ac9d026cca8a7c2 (patch) | |
| tree | d890dad8df0a937497f3ada07bb170e2154484ab /src/python | |
| parent | 40b19060ec09099bece7ec50665d2f6e81985a9f (diff) | |
account: Fall back to /etc/passwd if /etc/shadow returns NULL password
In certain cases password may be stored in /etc/passwd directly and we
need to tell libuser where to pull the password from. This patch
automatically falls back to /etc/passwd if there's no password found
in /etc/shadow. In case password retrieval fails in both cases, the
UserPassword and UserPasswordEncoding LMI_Account properties are left
unset.
Based on a patch by Klaus Kämpf <kkaempf@suse.de>
https://bugzilla.redhat.com/show_bug.cgi?id=1031334
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions
