soios/os/layers/training-installer/hooks/live/2010-training-installer.hoo...

11 lines
202 B
Bash

#!/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