New IT forum
25 July 2014, 06:43:50 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: PiHub now in stock.
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Automatic login  (Read 2926 times)
NewIT_Marcus
Hero Member
*****
Posts: 960


« 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:
apt-get install mingetty

* Amend /etc/event.d/ttyS0

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

Now I see:
Code:
ubuntu login: root (automatic login)


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

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!