Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created July 9, 2016 20:00
Show Gist options
  • Select an option

  • Save dannysmith/b2f488e01c2c08bc882c3093af0c5f4a to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/b2f488e01c2c08bc882c3093af0c5f4a to your computer and use it in GitHub Desktop.
# Get admin password & store in $passwd
echo -n "Admin Password: "
stty -echo
read passwd
stty echo
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment