| 
															
																@@ -136,13 +136,14 @@ apt-get autoremove --yes 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 apt-get clean --yes 
															 | 
															
															 | 
															
																 apt-get clean --yes 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 # Setup users and passwords 
															 | 
															
															 | 
															
																 # Setup users and passwords 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-pass=`pwgen --capitalize --numerals --ambiguous 12 1` 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+[ -z $pwdAdmin ] && pwdAdmin=`pwgen --capitalize --numerals --ambiguous 12 1` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 useradd admin --create-home --shell /bin/bash 
															 | 
															
															 | 
															
																 useradd admin --create-home --shell /bin/bash 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-echo "admin:$pass" | chpasswd 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+echo "admin:$pwdAdmin" | chpasswd 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 usermod -a -G sudo admin 
															 | 
															
															 | 
															
																 usermod -a -G sudo admin 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 echo -e "\e[1;33;4;44mPassword for the user admin: $pass\e[0m" 
															 | 
															
															 | 
															
																 echo -e "\e[1;33;4;44mPassword for the user admin: $pass\e[0m" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 pass=`pwgen --capitalize --numerals --ambiguous 12 1` 
															 | 
															
															 | 
															
																 pass=`pwgen --capitalize --numerals --ambiguous 12 1` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-echo 'root:$pass'     | chpasswd 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+[ -z $pwdRoot ] && pwdRoot=`pwgen --capitalize --numerals --ambiguous 12 1` 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+echo "root:$pwdRoot"   | chpasswd 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 echo -e "\e[1;33;4;44mPassword for the user root: $pass\e[0m" 
															 | 
															
															 | 
															
																 echo -e "\e[1;33;4;44mPassword for the user root: $pass\e[0m" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 # Harden SSHD 
															 | 
															
															 | 
															
																 # Harden SSHD 
															 |