Commit 78667d8f authored by Rafael Monnerat's avatar Rafael Monnerat

debian-preseed: Added helper script used to close the server access.

parent 7803db0a
#!/bin/bash
apt-get install pwgen
mkdir -p /root/.ssh
wget -O- http://www.nexedi.org/static/ssh_key/rafael_key >> /root/.ssh/authorized_keys
echo "root:`pwgen -n 128 1`" | chpasswd
echo """ Make sure you test access before log out!!!"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment