blob: 7b355e5584053354e9fa1024830a53ee97ac31cc [file] [log] [blame]
Sergio Slobodrianee4b2bc2017-06-05 10:08:59 -04001#!/bin/bash
2
3
4echo "vinstall ALL=(ALL) NOPASSWD:ALL" > tmp
5sudo chown root.root tmp
6sudo mv tmp /etc/sudoers.d/vinstall
Sergio Slobodrianb92e5132017-09-13 13:04:05 -04007sudo chmod 664 /etc/sudoers.d/vinstall
Sergio Slobodrianee4b2bc2017-06-05 10:08:59 -04008mkdir .ssh
9chmod 0700 .ssh
10ssh-keygen -f /home/vinstall/.ssh/id_rsa -t rsa -N ''