Linux – Display menu instead of login prompt on Linux

bashdebianlinuxUbuntu

After starting up a linux server (mostly Ubuntu or Debian based), I see a login prompt on the local console.

To enable end users to restart such a server or start some maintenance tasks, I would like to display a menu instead of a login prompt.

How can I do that?

Best Answer

Autologin a user with mingetty. Link

Autorun a bash script that contains the menu. Link

Logout user when exiting from bash script. Link

In regards to the comments about the SSH, in our case we have a handful of Raspberry Pis that serve only to run a script when a doctor connects their dictation device via USB. Another script automatically copies the files from the USB device to our dictation server for transcription. The console script is to allow them to see feedback as to if all their jobs were successfully copied AND be able to select from a menu to pull up their "job history".


Related Topic