diff options
author | Balint Reczey <balint@balintreczey.hu> | 2017-01-20 20:11:49 +0100 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2017-01-20 20:11:49 +0100 |
commit | 3588f5d2a3a6d6885c04c0fd7910e50a29edc68c (patch) | |
tree | 73ac5ffaca79a3062afd9696cb68b8204df32c3f | |
parent | af6b4171563cf4fc64883eb39dd81c8f68296e5d (diff) | |
download | shadow-3588f5d2a3a6d6885c04c0fd7910e50a29edc68c.tar.gz |
Clean up stale locks on boot
Closes: #478771
-rw-r--r-- | debian/passwd.tmpfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/passwd.tmpfile b/debian/passwd.tmpfile new file mode 100644 index 00000000..c2075d11 --- /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 |