blob: 6de6e2e1fb3195ac6143f4bb6778650875d9d503 [file] [log] [blame] [edit]
#!/bin/bash
set -eu
USER="vault"
if ! id -u $USER > /dev/null 2>&1; then
useradd \
--system \
--user-group \
--shell /bin/false \
$USER
fi