Skip to content

Instantly share code, notes, and snippets.

learncodeacademy /
Last active Jun 12, 2020
Adding a deploy user in Linux

(wherever it says, use your server's domain or IP)

Login to new server as root, then add a deploy user

sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deploy

And Update the new password

You can’t perform that action at this time.