Geodroplet: Difference between revisions
From charlesreid1
(Created page with "# Procedure Create droplet (logging in as root) Add non-root user account Give non-root user account sudo abilities * add to root group: <pre>usermod -G root charles</pre> * m...") |
No edit summary |
||
| Line 1: | Line 1: | ||
=Procedure= | |||
Create droplet (logging in as root) | Create droplet (logging in as root) | ||
Revision as of 18:41, 26 January 2015
Procedure
Create droplet (logging in as root)
Add non-root user account
Give non-root user account sudo abilities
- add to root group:
usermod -G root charles
- make sudoer:
sudo adduser charles sudo
Test sudo abilities
sudo -; whoami
Disable non-root login
sudo vim /etc/ssh/sshd_config
- change
PermitRootLogin yes
toPermitRootLogin no