0

I would like to have my user automatically log in on ubuntu server (so that various "on login" services start), but I do not want that user to be authenticated in one of the various available ttys. Is it possible to have my user log in without exposing a terminal to someone with access to the keyboard?

7
  • This seems like a workaround. It might match your actual usage better to change your "on login" service triggers to something else. My server's services are either at-startup, on-demand, or scheduled. None of mine are upon login. Alternately, why do you need to keep a terminal window open? Start the service using systemd, logout, and close the window.
    – user535733
    Aug 22, 2019 at 14:38
  • "why do you need to keep a terminal window open?" this is specifically what I want not to happen.
    – Him
    Aug 22, 2019 at 14:42
  • @user535733, the "on login" things are ubuntu things, not mine. One example is the network manager that only starts on login.
    – Him
    Aug 22, 2019 at 14:43
  • Does this help? help.gnome.org/admin/system-admin-guide/stable/…
    – Jos
    Aug 22, 2019 at 14:51
  • 1
    Ah, so you seem to be serving from an Ubuntu Desktop, not Ubuntu Server. Seems unnecessarily complicated to do it that way, but I'm sure you have your reasons. Real Ubuntu Server lacks both a Desktop Environment and Network Manager, and has no "on login" things at all. On my network, I would simply move the server into an LXD container that can run in the background on any Ubuntu system (though I have dedicated hardware for my containers - each service in it's own container).
    – user535733
    Aug 22, 2019 at 14:58

0

You must log in to answer this question.

Browse other questions tagged .