#!/bin/sh set -eu OUT="${OUT:-/out/htpasswd}" hash=$(openssl passwd -apr1 'password') echo "user:$hash" > "$OUT" echo "Created $OUT (user:password)"