2018-10-18 15:21:53 -06:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#Populate root's home folder from /etc/skel
|
2018-10-23 17:21:53 -06:00
|
|
|
cp -rv /etc/skel/. /root/
|
2018-10-18 15:21:53 -06:00
|
|
|
|
|
|
|
#Time to git stuff...
|
|
|
|
cd /root/
|
|
|
|
git clone https://github.com/Veil-Framework/Veil.git
|
|
|
|
git clone https://github.com/leebaird/discover.git
|
|
|
|
git clone https://github.com/trustedsec/ptf
|
|
|
|
|
|
|
|
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
|
2018-10-18 18:01:16 -06:00
|
|
|
|
|
|
|
#Enable our desired services
|
2018-10-18 15:21:53 -06:00
|
|
|
systemctl enable ssh
|
|
|
|
systemctl enable cups
|
|
|
|
systemctl enable apache2
|
|
|
|
systemctl enable mysql
|
|
|
|
systemctl enable postgresql
|
|
|
|
systemctl enable tor
|
2018-11-07 16:30:35 -07:00
|
|
|
systemctl enable cockpit.socket
|
2018-11-07 16:40:24 -07:00
|
|
|
systemctl enable xrdp
|
2018-11-07 16:30:35 -07:00
|
|
|
systemctl disable firewalld
|