#!/bin/bash set -eu # Install the noauth PAM profile. groupadd noauth pam-auth-update --enable noauth # Enable user reset at boot triggered by a kernel parameter. systemctl enable reset-user.service