@@ -1407,14 +1407,22 @@ only type of users in Magic Castle allowed to be sudoers.
1407
1407
| `users` | Dictionary of users to be created locally | Hash[profile::users::local_user] |
1408
1408
1409
1409
A `profile::users::local_user` is defined as a dictionary with the following keys :
1410
- | Variable | Description | Type | Optional ? |
1411
- | ----------------- | :-----------------------------------------------| :-------------- | --------- |
1412
- | `groups` | List of groups the user has to be part of | Array[String] | No |
1413
- | `public_keys` | List of ssh authorized keys for the user | Array[String] | No |
1414
- | `sudoer` | If enable, the user can sudo without password | Boolean | Yes |
1415
- | `selinux_user` | SELinux context for the user | String | Yes |
1416
- | `mls_range` | MLS Range for the user | String | Yes |
1410
+ | Variable | Description | Type | Optional ? (default) |
1411
+ | ----------------- | :-----------------------------------------------| :-------------- | ------------------- |
1412
+ | `groups` | List of groups the user has to be part of | Array[String] | No |
1413
+ | `public_keys` | List of ssh authorized keys for the user | Array[String] | No |
1414
+ | `sudoer` | If enable, the user can sudo without password | Boolean | Yes (false) |
1415
+ | `selinux_user` | SELinux context for the user | String | Yes (unconfined_u) |
1416
+ | `mls_range` | MLS Range for the user | String | Yes (s0-s0:c0.c1023) |
1417
1417
| `authenticationmethods` | Specifies AuthenticationMethods value for this user in sshd_config | String | Yes |
1418
+ | `manage_home` | Whether we manage the home folder | Boolean | Yes (true) |
1419
+ | `purge_ssh_keys` | Whether we purge ssh keys | Boolean | Yes (true) |
1420
+ | `shell` | Default shell of the user | String | Yes (/bin/bash) |
1421
+ | `uid` | UID of the user | Integer | Yes (undef) |
1422
+ | `gid` | GID of the user | Integer | Yes (undef) |
1423
+ | `group` | Primary group name of the user | String | No (username) |
1424
+ | `home` | Home directory of the user | String | Yes (/username) |
1425
+
1418
1426
1419
1427
<details>
1420
1428
<summary>default values</summary>
0 commit comments