package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Functions

CheckSudoers tests a suders file using `visudo`.
No description provided by the author
GroupAdd creates a group on a host using `groupadd` optionally specifying the GID to create the group with.
RemoveUserExpirations uses chage to remove any future or past expirations associated with the given username.
SetUserGroups adds a user to a list of specified groups on a host using `usermod`, overriding any existing supplementary groups.
UserAdd creates a user on a host using `useradd`.
UserDel deletes a user on a host using `userdel`.
UserHasExpirations determines if the given username has an expired password, inactive password, or expired account by parsing the output of 'chage -l <username>'.

# Constants

man GROUPADD(8), exit codes section.
No description provided by the author
man USERADD(8), exit codes section.
No description provided by the author

# Variables

No description provided by the author

# Structs

UserOpts allow for customizing the resulting command for adding a new user.