diff options
author | brapru <brapru@pm.me> | 2021-05-29 08:40:16 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-30 17:42:03 +0100 |
commit | af8b7248c877663879e3e114a7150c78e8456fa4 (patch) | |
tree | 9e82021b3b2d32731d143a0c513f8b812d667b27 /Userland/Utilities | |
parent | 54578ec5d455e2ecc366865b5eaab039b7e151fa (diff) | |
download | serenity-af8b7248c877663879e3e114a7150c78e8456fa4.zip |
LibC: Allow empty spwd members when writing shadow entries via putspent
Previously there was no way to output an empty value into the shadow
file entries when the spwd members were disabled. This would cause new
user entries to the shadow file to be cluttered with disabled values.
This commit checks if the spwd member value is diabled (-1) and will
output as appropriate.
Diffstat (limited to 'Userland/Utilities')
0 files changed, 0 insertions, 0 deletions