improve password hash generation code

This commit is contained in:
2023-04-12 11:11:52 +02:00
parent 5778ba3b4b
commit 2a71be6953
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ root password
The root password can be set with the attribute ``rootpw``. The value
of the attribute must be the password hash, and can be generated with the command
``openssl passwd -6 'this is the password'``
``openssl passwd -6``
partitions
~~~~~~~~~~
@@ -54,7 +54,7 @@ the values are hashes containing the usual user properties, ie:
``shell`` shell (required)
============ ==========================
Ideally encrypt the password has as in chapter "Example: Encrypting password" :ref:`admin-guide/puppet/hiera`
Ideally the password hash is generated with ``openssl passwd -6`` and then encrypted as in chapter "Example: Encrypting password" :ref:`admin-guide/puppet/hiera`
``users``