Odroid C1+ setup

From MyLabWiki
Revision as of 11:43, 29 November 2015 by Alex (Talk | contribs)

Jump to: navigation, search

Currently running the [Odroid_Images|Minimal Jessie image].

Add new user and disable root login

Add new user who can sudo:

 $ adduser USER
 $ apt-get install sudo
 $ usermod -a -G sudo USER

Logout and login again as USER to have permissions take effect.

Disable root loging through SSH:

 /etc/ssh/sshd_config:
 PermitRootLogin no

Optionally, disable root login completely (must have sudoer user setup):

 $ sudo passwd -l root

Re-enable root login:

 $ sudo passwd root