2

I'm having an application where I'm using debug port as the main communication port where after booting user is trying to enter commands but because of the login password, we are not able to access debug port directly.

How we can disable the login password in Debian 11?

  • I think it depends on your displaymanager. If you habe one `cat /etc/X11/default-display-manager` – nobody Dec 21 '22 at 12:01
  • @nobody I dont have any display manager. I'm running minimal debian 11.6 on imx6ull – Omkar Dixit Dec 21 '22 at 12:13
  • Not not tested nowadays My serverhardware is gone. Create file /etc/systemd/system/[email protected]/override.conf; with content.`[Service] ExecStart= ExecStart=-/sbin/agetty --autologin username --noclear %I $TERM Type=idle ` – nobody Dec 21 '22 at 12:38
  • whenever i try to save the file it is showing /etc/systemd/system/[email protected]/override.conf" E212: Can't open file for writing @nobody – Omkar Dixit Dec 21 '22 at 12:58
  • Did you create the folder before? `mkdir -p /etc/systemd/system/[email protected]/` ? – nobody Dec 21 '22 at 13:28
  • @nobody actually I found that issue. Because of the rsyslogd daemon, my sd card has become full and I don't have any space to save the file. I will try to make space then I will check once. – Omkar Dixit Dec 21 '22 at 13:30
  • Does this answer your question? [Disable password on linux user with command](https://unix.stackexchange.com/questions/558590/disable-password-on-linux-user-with-command) – Panki Dec 21 '22 at 17:06

0 Answers0