Commit e81787f2 authored by segfault's avatar segfault

Don't remove the admin password file

We want to be able to persist the password file, so we can't delete it.
And since the password is now hashed and salted, we don't have to delete
it anymore.
parent cea42371
......@@ -120,9 +120,6 @@ if [ -e /var/lib/gdm3/settings/tails.password ] ; then
. /var/lib/gdm3/settings/tails.password
fi
# Remove password file
rm --interactive=never -f /var/lib/gdm3/settings/tails.password
# Check if password is actually set
if [ -z "${TAILS_USER_PASSWORD}" ] ; then
rm -f "${POLKIT}" "${SUDOERS}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment