Is autologin dangerous? (Debian/Linux)


If I use only a computer, can I disable the password when I log in? That is, the user account has a password, but in the settings I turn on autologin:

/etc/lightdm/lightdm.conf  [Seat:*] autologin-user=user autologin-user-timeout=0 

Is this an Internet attack vulnerability?