Skip to content

Instantly share code, notes, and snippets.

View Trle94's full-sized avatar
🎯
Focusing to finish project

Marko Trle94

🎯
Focusing to finish project
  • Castlegem SRL
  • Visual Studio
View GitHub Profile
#!/usr/bin/bash
#title :mkuser.sh
#description :This script will make random password for root, new user, new user as sudo, clear history
#author :Trle94 @ Castlegem SRL
#date :03.04.2018
#version :0.1
#usage :./mkuser.sh
#--------------------------------------------------------------------------------
[ $EUID -eq 0 ] || { echo "This script needs to be ran with SUDO!"; exit 1; }