summaryrefslogtreecommitdiffstats
path: root/debian/passwd.tmpfiles
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:54:38 +0000
commit6cfae0f7454977a2a1171b25e82cef512c14e156 (patch)
tree67cc236679251beaf5e95d9bc5a6a69b745202d0 /debian/passwd.tmpfiles
parentAdding upstream version 1:4.13+dfsg1. (diff)
downloadshadow-6cfae0f7454977a2a1171b25e82cef512c14e156.tar.xz
shadow-6cfae0f7454977a2a1171b25e82cef512c14e156.zip
Adding debian version 1:4.13+dfsg1-1.debian/1%4.13+dfsg1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/passwd.tmpfiles')
-rw-r--r--debian/passwd.tmpfiles8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/passwd.tmpfiles b/debian/passwd.tmpfiles
new file mode 100644
index 0000000..c2075d1
--- /dev/null
+++ b/debian/passwd.tmpfiles
@@ -0,0 +1,8 @@
+# If a password operation is in progress and we lose power, stale lockfiles
+# can be left behind. Clear them on boot.
+r! /etc/gshadow.lock
+r! /etc/shadow.lock
+r! /etc/passwd.lock
+r! /etc/group.lock
+r! /etc/subuid.lock
+r! /etc/subgid.lock