improved password encryption documenation

This commit is contained in:
2023-03-09 14:46:34 +01:00
parent 03e825b714
commit 26d803fba1
2 changed files with 26 additions and 45 deletions
@@ -54,6 +54,8 @@ 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:`../hiera`
``users``
~~~~~~~~~
@@ -91,6 +93,7 @@ The following defines three users and one group, but only creates one each::
'home': '/home/archadm'
'shell': '/bin/bash'
'comment': ''
'password': 'ENC[PKCS7,MIIB2gYxxxxxx...xxxxxxx]'
local_accounts::groups:
- 'archadm'