Add user for VPN access

This commit is contained in:
Taylor Helsper 2019-08-09 20:08:50 -05:00
parent c759e879cf
commit 89e4a7d197

View File

@ -68,6 +68,8 @@ mkdir -p /home/admin/.bitcoin/
chown admin:admin /home/admin/.bitcoin/
rm -rf /etc/motd # Remove simple motd for update-motd.d
# Make any users we need to
useradd -m -s /bin/bash pivpn || true
# Regen SSH keys
if [ ! -f /home/bitcoin/.mynode/.gensshkeys ]; then