0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.116.47.194


Current Path : /snap/core/current/etc/init/
Upload File :
Current File : //snap/core/current/etc/init/passwd.conf

# passwd - clear locks on passwd and related files
#
# Copyright 2012 Canonical Ltd.
# Author: Dmitrijs Ledkovs
#
# This helper clears locks on passwd to avoid million duplicate bug reports
# like this one: https://launchpad.net/bugs/523896
# Ideally we'd know what lock-up, and doesn't clear the lock, and fix that.
# But it appears to be safe enough to clear them unconditionally on boot.
#

description	"Clear passwd locks"

start on filesystem

task

exec rm -f /etc/gshadow.lock /etc/shadow.lock /etc/passwd.lock /etc/group.lock /etc/subuid.lock /etc/subgid.lock