Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

deactivate login ubuntu server

sudo systemctl edit getty@tty1.service

This will the create a drop-in file (if neccessary) and open it an editor. Add the following, replacing myusername with your user name:

[Service]
ExecStart=
ExecStart=-/sbin/agetty --noissue --autologin myusername %I $TERM
Type=idle

Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #deactivate #login #ubuntu #server
ADD COMMENT
Topic
Name
9+3 =