]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login-utils: Use /etc/passwd- as backup file
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 6 Jan 2026 17:20:33 +0000 (18:20 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 7 Jan 2026 16:11:47 +0000 (17:11 +0100)
commitea3857615df887ec9a1dbbbcca7ba89a2482cbd5
treef113482839240d0ec7f8006bc9277ba90c1cd493
parent8ec679cfb0507fa0f772d7108466964e18e00af9
login-utils: Use /etc/passwd- as backup file

The name /etc/passwd- is used as backup file by shadow and systemd.

Let's join the group and use /etc/passwd- instead of /etc/passwd.OLD as
well. One backup file on a system is enough.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
login-utils/setpwnam.c
login-utils/vipw.c