I followed the links that several of you suggested, regarding systemd.
As near as I can tell, I haven’t missed anything and it still doesn’t “auto Login”.
First of all, here are the steps:
- md /firstname.lastname@example.org
ExecStart=-/sbin/agetty --autologin root --noclear %I 38400
Edit the file: ‘/email@example.com’
and find the line: ‘ExecStart=-/sbin/agetty %I 38400’
and change to: ‘ExecStart=-/sbin/agetty –noclear -a USERNAME %I 38400’
The –noclear is optional, it prevents the screen from clearing out the console messages.
Here is what happens when I type “systemctl status firstname.lastname@example.org” after logging in as root.
(Auto login doesn’t work obviously)
email@example.com - Getty on tty1
Loaded: loaded (/lib/systemd/system/getty@.service; enabled)
Active: active (running) since Sun, 13 Sep 2015 21:02:14 +0000; 59s ago
Main PID: 1767 (login)
â 1767 /bin/login
The post login message is:
Debian GNU/Linux 7 beaglebone ttyO0
BeagleBoard.org Debian Image 2015-03-01
I am wondering about the “ttyO0” part of the message, and how this relates to “tty1” which I believe is a device?