blob: 0e4e3a20bddf65a2e1b14647328686a8589d34a2 (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
# Allow root login
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# Set root pw
usermod -p "$(echo vagrant | openssl passwd -1 -stdin)" root
|