summaryrefslogtreecommitdiffstats
path: root/src/python/setup.py
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2013-12-02 13:34:02 +0100
committerTomas Bzatek <tbzatek@redhat.com>2013-12-03 13:33:47 +0100
commit593292b27221d05d2d43485d8ac9d026cca8a7c2 (patch)
treed890dad8df0a937497f3ada07bb170e2154484ab /src/python/setup.py
parent40b19060ec09099bece7ec50665d2f6e81985a9f (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/setup.py')
0 files changed, 0 insertions, 0 deletions