Skip to main content

Create a new SSH User

Laravel doesn't like it when you run it in root, this is for security purposes. We agree with them it's safer, however you can use root.

sudo useradd -m -d /home/ticaga demo

This creates a user called "demo".

sudo passwd demo

This allows you to create a password for the username "demo".

sudo usermod -aG wheel demo

This allows you to add the user "demo" to the sudo group, this allows you to use sudo.