]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: Do not reset non-existent data in {last,fail}log
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 24 Aug 2022 11:21:01 +0000 (13:21 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 31 Aug 2022 14:13:46 +0000 (16:13 +0200)
commitebf9b232b012725d2be5e750876c7336cf1c37fd
tree37de4ff4bb90eefb72a2831db31bd44cf52b948a
parent7136e24f8a4a541dbe0ddd24f5a6b2de583ebb65
useradd: Do not reset non-existent data in {last,fail}log

useradd does not create the files if they don't exist, but if they exist
it will reset user data even if the data did not exist before creating
a hole and an explicitly zero'd data point resulting (especially for
high UIDs) in a lot of zeros ending up in containers and tarballs.
src/useradd.c