New IT forum
26 November 2015, 07:33:02 pm *
Welcome, %1$s. Please login or register.
Did you miss your activation email?

: CubieBoard 2 and Cubietruck both now in stock.
Pages: [1]

Author Topic: Automatic login  (Read 4083 times)


  • Hero Member
  • *****
  • Posts: 960
Automatic login
« on: 21 February 2010, 03:49:43 pm »

We use an SD card for running some tests on plugs from time to time - I got fed up of logging in as root every time:

* Install mingetty
Code: [Select]
apt-get install mingetty
* Amend /etc/event.d/ttyS0

Code: [Select]
#exec /sbin/getty 115200 ttyS0
exec /sbin/mingetty --autologin root --noclear ttyS0

Now I see:
Code: [Select]
ubuntu login: root (automatic login)

Pages: [1]

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!