#!/bin/bash

# su - screenlocker -c 'vlock -a'	     # locks down all virtual terminals on linux and makes them password protected
	 			     # Make sure you add the screenlocker user so someone cant brute force root 
	 			     # screenlocker password # protectdetect!@#$



rm -f /etc/security/console.apps/*   # removes users special rights to root privileged apps
				     # when logged into console


chown root /etc/securetty
chmod 0600 /etc/securetty	     # After updating the config file you want to limit access to it

chown root /etc/inittab
chmod 0644 /etc/inittab


ln -s /dev/null /etc/systemd/system/ctrl-alt-del.target  # Prevent Ctrl-Alt-Delete by anyone
