LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Preventing Login (https://www.linuxquestions.org/questions/linux-security-4/preventing-login-261067/)

rickseiden 11-30-2004 05:10 PM

Preventing Login
 
How do you stop the login prompt from coming up when you start your machine?

I mean, I want the system to boot, but no local logins allowed. Not even a prompt for it.

Thanks

PS: Why would I want this? I'm thinking of building an ftp appliance distribution that would have a web based administration module. All admin activites could be done through there without the need for an actual console to log into.

m00t00 11-30-2004 06:17 PM

1) edit your /etc/inittab, usually heavily commented, you'll get it.
2) you should always leave one console or be prepared to have to use a livecd to recover, say you need to fix the "web based administration module" (it will happen, trust me. Guy I know named Murphy told me =] ).

rickseiden 11-30-2004 08:36 PM

Quote:

Originally posted by m00t00
1) edit your /etc/inittab, usually heavily commented, you'll get it.
2) you should always leave one console or be prepared to have to use a livecd to recover, say you need to fix the "web based administration module" (it will happen, trust me. Guy I know named Murphy told me =] ).

1) Thanks for the vote of confidence!

2) That wouldn't be the lawyer who created Murphy's Law, is it? I was planning on the liveCD part, but ssh might not be a bad idea.

THANKS!

m00t00 12-01-2004 02:45 PM

no problem.

nah, must have been some other murphy =D
but what im saying, is that even using ssh is a bad idea, you should still have some kind of almost-idiot-proof way of doing it (say the network goes down for an unspecified reason). You can a) suffer the downtime with a live cd, or b) log in, start back up, and have much lower downtime. Though if downtime isnt that important, by all means just use shh.


All times are GMT -5. The time now is 12:53 AM.