Created
January 7, 2016 06:03
-
-
Save protosam/6e39f82053bd4cc322cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sed -i '/^pts/d' /etc/securetty; for i in {0..40}; do echo pts/$i >> /etc/securetty; done | |
sed -i '/^OPTS=/d' /etc/sysconfig/shellinaboxd | |
echo 'OPTS="--user-css Normal:+/usr/share/shellinabox/white-on-black.css --disable-ssl-menu -s /:LOGIN"' >> /etc/sysconfig/shellinaboxd | |
systemctl restart shellinaboxd | |
systemctl enable shellinaboxd | |
echo ProxyPass /shellinabox http://localhost:4200/ > /etc/httpd/conf.d/shellinabox.conf | |
systemctl reload httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment