Skip to content

Instantly share code, notes, and snippets.

@rondefreitas
Created December 11, 2019 18:22
Show Gist options
  • Save rondefreitas/fb6bad76f6b24abccd44d0a65506f7ed to your computer and use it in GitHub Desktop.
Save rondefreitas/fb6bad76f6b24abccd44d0a65506f7ed to your computer and use it in GitHub Desktop.
HDInsight Change SSH Password
#! /bin/bash
USER=$1
PASS=$2
usermod --password $(echo $PASS | openssl passwd -1 -stdin) $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment