]> git.ipfire.org Git - thirdparty/shadow.git/commit
usermod: only lock shadow file as needed
authorPat Riehecky <riehecky@fnal.gov>
Mon, 9 Mar 2026 16:43:12 +0000 (11:43 -0500)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 16 Mar 2026 23:49:08 +0000 (00:49 +0100)
commit1e0f5299272bfbfa57cb0d01fd5271cc5b285634
treebf2afd114b08cc198a49b2399dac11b12e596265
parent00ab1780769c555b367234f5491f4ea7dc63701c
usermod: only lock shadow file as needed

When setting user attributes that have nothing to do with shadow
we don't need to lock it.

Closes: https://github.com/shadow-maint/shadow/issues/1540
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
src/usermod.c