Skip to content

Instantly share code, notes, and snippets.

@ojgarciab
Last active June 15, 2023 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ojgarciab/dadff0fcc2aa1103193c58e6a205bf0e to your computer and use it in GitHub Desktop.
Save ojgarciab/dadff0fcc2aa1103193c58e6a205bf0e to your computer and use it in GitHub Desktop.
Debian 11 text mode autologin
# /etc/systemd/system/getty@tty1.service.d/autologin.conf
# Tested on Debian 11
[Service]
ExecStart=
# Replace 'user' with the username of your choice to enable automatic login
ExecStart=-/sbin/agetty --noclear --autologin user %I $TERM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment