Skip to content

Instantly share code, notes, and snippets.

@brian-tex
Created August 24, 2022 16:26
Show Gist options
  • Select an option

  • Save brian-tex/3b21408479f800c008f8cc0ed3fde942 to your computer and use it in GitHub Desktop.

Select an option

Save brian-tex/3b21408479f800c008f8cc0ed3fde942 to your computer and use it in GitHub Desktop.

Introduction:

  • This Page shows how to make a SHA-512 hash. This is needed for creating a hash of a SysAdmin user account password as it allows other SysAdmins to set each other's passwords without knowing what the password is.

Workflow Prerequisites

  • A Linux computer.
  • The mkpasswod binary (found in the whois package).

Create the Password Hash

  1. Access Terminal with mkpasswd installed.
  2. Run mkpasswd -m sha-512.
  3. Type in whatever it is you want to hash and press return or enter.
  4. Terminal will print out the SHA-512 hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment