Difference between revisions of "Odroid C1+ setup"

From MyLabWiki
Jump to: navigation, search
(Created page)
 
m (Re-add categories.)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Minimal Debian Image ==
+
Currently running the [[Odroid_Images|Minimal Jessie image]].
  
* http://forum.odroid.com/viewtopic.php?f=114&t=8084
+
== Add new user and disable root login ==
* https://github.com/tomuta/debian-mini-odroid-c1
+
  
 +
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
 +
 +
[[Category:Linux]]
 
[[Category:Odroid]]
 
[[Category:Odroid]]

Latest revision as of 12:44, 29 November 2015

Currently running the 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