0

First of all let me apologize for the vague question title.

Here is a better explanation ...

I have an Ubuntu PC which I am using as a web server. It will normally run headless. When it is powered up it needs to boot automatically without any body entering a user name or password, so I guess we call this autologin.

If someone were to plug in a keyboard, mouse and monitor then they would have access to the system and the .php web files which I need to protect.

How can I stop someone simply plugging in a keyboard etc and having unrestricted access. I'm happy to only be able to access the system via ssh using myusername, mypassword.

1 Answers1

1

If I get your question right, you don't want autologin on your machine.

At startup it will run all the services it's supposed to run. No need for any specific user to be logged in (or auto-logged in) to achieve that.

If anyone connects a keyboard and monitor to the machine, he will get the welcome screen requesting login and password.

You may be concerned with what else a malicious invader can do if he gets a physical hold on your machine. But that's another story.