]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use the lckpwdf() again if prefix is not set
authorTomas Mraz <tmraz@fedoraproject.org>
Thu, 2 May 2019 12:33:06 +0000 (14:33 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Thu, 2 May 2019 12:33:06 +0000 (14:33 +0200)
commit408b8a548243aebaa6d773beeae8ddf4bb6100f0
tree21a9edd60bf894609ec86b8dfe9070bd052ae420
parentce2941ca0df544414e468548ac89cc6a8d0adc51
Use the lckpwdf() again if prefix is not set

The implementation of prefix option dropped the use of lckpwdf().
However that is incorrect as other tools manipulating the shadow passwords
such as PAM use lckpwdf() and do not know anything about the
shadow's own locking mechanism.

This reverts the implementation to use lckpwdf() if prefix option
is not used.
lib/commonio.c
lib/commonio.h
lib/groupio.c
lib/pwio.c
lib/sgroupio.c
lib/shadowio.c
lib/subordinateio.c