Add User Account To An Ubuntu Server

This is an interactive task for adding a user account to a Ubuntu Server. This task sends an approval request to Slack before the user account is created

Integrations

Required Vault Details

Ubuntu Server

For more information see SSH Server Running Commands

  • IP/DNS address of a Ubuntu Server
  • Port
  • Base Prompt
  • Username
  • Password

Slack

For more information see Slack Integration

  • Webhook URL

As this is a privileged task, the credentials used for the Ubuntu Server must be part of the sudoers group.

PPA will add these to Vault for you when you first run the task (see Vault Config Wizard for more).

What the Task Does

Once started, this task allows the operator to:

  • Enter a username for the user account
  • Choose temporary password
  • Request approval via Slack

Task Failure Messages (optional)

This task can supply a message to the Activity page if the task fails.

To test this do the following in PPA after you've built & tested the task:

  • Navigate to the Playbook Editor
  • Click the burger menu for your Playbook
  • Select Edit Metadata
  • Expand the Advanced section
  • Paste the JSON below into the Exit Codes section
  • Click Save
{
  "2": "Approval request was rejected.",
  "3": "Failed to create user account. Please view the logs for more information."
}
View playbook on Github
Product Boot Screen

Get PPA for free!

Start automating your estate with a free 30 day trial today. No signup required!

Get PPA Express

Documentation


Theale Court
11-13 High Street, Theale
Reading, Berkshire, RG7 5AH
United Kingdom
+44 (0) 118 324 2444

Logo

Copyright 2020 Osirium Ltd.