Skip to main content

user

Description

User on this system

Fields

IDTYPEDESCRIPTION
uidintUser ID
gidintUser's group ID
sidstringUser's security identifier (Windows)
namestringName of the user
homestringHome folder
shellstringDefault shell configured
enabledboolWhether the user is enabled
authorizedkeysauthorizedkeysList of authorized keys
sshkeys[]privatekeyList of SSH keys
groupgroupGroup of which user is a member

Examples

Display a specific user's home directory and UID

user(name: 'vagrant') { home uid }