Ubuntu 16.04 Rails/Nginx/Passenger/MariaDB ServerOctober 25, 2016 |
Assuming you're logged in as root add these users and login as "not root."
adduser deploy
adduser [yourname] #optionally
vim /etc/group
# add your users to the sudo group like so:
sudo:x:27:isaac,deploy
vim /etc/ssh/sshd_config
# add to file or if they exist set the flags to no.
Setting up an Ubuntu 14.04 Server for RailsNovember 25, 2014 |
Assuming you're logged in as root add these users and login as "not root."
adduser deploy
adduser [yourname] #optionally
vim /etc/group
# add your users to the sudo group like so:
sudo:x:27:isaac,deploy
vim /etc/ssh/sshd_config
# add to file or if they exist set the flags to no.