systemd_boot_into_console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
systemd_boot_into_console [07.03.2019 14:45] – [Autologin to console] Pascal Sutersystemd_boot_into_console [07.03.2019 15:29] (current) – [Autologin to console] Pascal Suter
Line 18: Line 18:
   [Service]   [Service]
   ExecStart=   ExecStart=
-  ExecStart=-/sbin/agetty -o '-p -- \\u' --autologin myuser --noclear %I $TERM +  ExecStart=-/sbin/agetty --autologin myuser --noclear %I $TERM 
-where ''myuser'' should be replaced with the username of the user that should be logged in. +where ''myuser'' should be replaced with the username of the user that should be logged in. removing the ''-o '-p -- \\u' '' removes the password prompt. if you leave this in the user will be automatically selected but you still need to enter the password to continue
  
 ===== Autostart some scripts upon every login ===== ===== Autostart some scripts upon every login =====
  • systemd_boot_into_console.1551966357.txt.gz
  • Last modified: 07.03.2019 14:45
  • by Pascal Suter