Skip to content

Instantly share code, notes, and snippets.

@learncodeacademy
learncodeacademy / deployUser.md
Last active Jun 12, 2020
Adding a deploy user in Linux
View deployUser.md

(wherever it says url.com, 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.