username |
Name attribute: The name of the user. |
nil |
comment |
Gecos/Comment field. |
nil |
uid |
The numeric user id. |
nil |
gid |
The primary group id. |
nil |
groups |
Array of other groups this user should be a member of. |
nil |
home |
Home directory location. |
"#{node['user']['home_root']}/#{username} |
shell |
The login shell. |
node['user']['default_shell'] |
password |
Shadow hash of password. |
nil |
system_user |
Whether or not to create a system user. |
false |
manage_home |
Whether or not to manage the home directory. |
true |
non_unique |
Whether or not to allow the creation of a user account with a duplicate UID. |
false |
create_group |
Whether or not to to create a group with the same name as the user.
|
node['user']['create_group'] |
ssh_keys |
A String or Array of SSH public keys to populate the
user's .ssh/authorized_keys file.
|
[] |
ssh_keygen |
Whether or not to generate an SSH keypair for the user. |
node['user']['ssh_keygen'] |
groups |
An Array of groups to which to add the user. |
[] |