Skip to content

Instantly share code, notes, and snippets.

@shaiesto
Created November 6, 2018 14:14
Show Gist options
  • Save shaiesto/5447d64789918d14bda6d83b54cbbd54 to your computer and use it in GitHub Desktop.
Save shaiesto/5447d64789918d14bda6d83b54cbbd54 to your computer and use it in GitHub Desktop.
One liner to create md5 for redshift user password.
sh -r <(base64 -D <<< IyEvYmluL3NoCnByaW50ZiAnJXMgJyAnVXNlcm5hbWU6JwpyZWFkIC1lIFVTRVJOQU1FCnByaW50ZiAnJXMgJyAnUGFzc3dvcmQ6JwpyZWFkIC1lcyBQQVNTV09SRApwcmludGYgJyVzJXMnICIkUEFTU1dPUkQiICIkVVNFUk5BTUUiIHwgbWQ1IHwgeGFyZ3MgcHJpbnRmICdtZDUlcycKcHJpbnRmICdcbicK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment