Skip to content

Commit da8545d

Browse files
committed
Added instructions to generate SHA512 password hash
1 parent b9ca9e5 commit da8545d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,12 @@ node 'splunk-idx2.internal.corp.tld',
648648
Optional. Used to create a local admin user with predefined hash, full
649649
name and email This is a hash with 3 members:
650650

651-
- `hash` (SHA512 hash of the admin password)
651+
- `hash` (SHA512 hash of the admin password. To generate the hash use one of:
652+
653+
- `grub-crypt --sha-512` (RHEL/CENTOS)
654+
- `mkpasswd -m sha-512` (Debian)
655+
- `python -c 'import crypt,getpass; print(crypt.crypt(getpass.getpass(), crypt.mksalt(crypt.METHOD_SHA512)))'`
656+
652657
- `pass` (Plaintext password, only used for search heads to add search peers in distributed search)
653658
- `fn` (Full name)
654659
- `email` (Email address)

0 commit comments

Comments
 (0)