summaryrefslogtreecommitdiffstats
path: root/debian/passwd.tmpfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:22:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:22:07 +0000
commita982d958e3c5acba737f166177934ecdf8ebdf45 (patch)
treea4acc11aacd2865464d800eb8d8557db8df9d99f /debian/passwd.tmpfile
parentAdding upstream version 1:4.5. (diff)
downloadshadow-a982d958e3c5acba737f166177934ecdf8ebdf45.tar.xz
shadow-a982d958e3c5acba737f166177934ecdf8ebdf45.zip
Adding debian version 1:4.5-1.1.debian/1%4.5-1.1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/passwd.tmpfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/passwd.tmpfile b/debian/passwd.tmpfile
new file mode 100644
index 0000000..c2075d1
--- /dev/null
+++ b/debian/passwd.tmpfile
@@ -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