Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jun 11, 2024
1 parent 29b2d7b commit b406d31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ A `profile::users::local_user` is defined as a dictionary with the following key
| `sudoer` | If enable, the user can sudo without password | Boolean | Yes |
| `selinux_user` | SELinux context for the user | String | Yes |
| `mls_range` | MLS Range for the user | String | Yes |

| `authenticationmethods` | Specifies AuthenticationMethods value for this user in sshd_config | String | Yes |

<details>
<summary>default values</summary>
Expand All @@ -1326,6 +1326,7 @@ profile::users::local::users:
public_keys: "%{alias('terraform.data.public_keys')}"
groups: ['adm', 'wheel', 'systemd-journal']
sudoer: true
authenticationmethods: 'publickey'
```

If `profile::users::local::users` is present in more than one YAML file in the hierarchy,
Expand All @@ -1346,5 +1347,6 @@ profile::users::local::users:
# sudoer: false
# selinux_user: 'unconfined_u'
# mls_range: ''s0-s0:c0.c1023'
# authenticationmethods: 'publickey,password publickey,keyboard-interactive'
```
</details>

0 comments on commit b406d31

Please sign in to comment.