ojob.io/unix/addUser

Usage

ojob ojob.io/unix/addUser user=example group=group gecos="John Doe,Room 1234,555-1234,555-5678,John.Doe@example.com" gecosopt= debian=true sudo=false 

Description

Create user in unix prepared with an empty ssh authorized_keys file

Expects

Name Description
user The user name to create
group The optional group name to add the user to
gecos Add extra optional information
gecosopt Gecos option to use if 'gecos' is defined (default: --gecos)
debian Uses different syntax for debian based systems
sudo Boolean if false will not use sudo to execute the commands (default to true)