New IT forum
01 September 2015, 03:50:31 am *
Welcome, %1$s. Please login or register.
Did you miss your activation email?

: PiHub now in stock.
 
Pages: [1]

Author Topic: Automatic login  (Read 3943 times)

NewIT_Marcus

  • 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)

See http://blogs.koolwal.net/2009/04/30/autologin-linux-console-mode/
Logged
Pages: [1]
 
 

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