Solved

Displaying a staic screen (console) either image or text rather that prompting login

Posted on 2004-08-12
2
193 Views
Last Modified: 2013-12-15
I am building a Linux server that I do not want the end user to mess with. I would rather that when the computer first boots up, it displays a splash screen rather than everything it is doing (that would be nice but not necessary) and then at the end when the server is running, to just display either a splash screen, or a formated text display rather than a login prompt. (I know, and most heavy user know they can Alt-f2, 3, 4, 5, 6 to another console for the login, but for console 1, I would like just to display the screen. (I have seen packaged products that do this such as eSoft instagate software). We are maintaining the server remotely (telnet, rsh, ftp etc...) so I do not want to mess up those features, just the initial boot for console 1.

Thanks in advance.
0
Comment
Question by:dwanders
2 Comments
 
LVL 3

Accepted Solution

by:
dufduf earned 250 total points
ID: 11788517
http://www.bootsplash.org/ helps with the splash screen. I know practically nothing about it, but I guess their website tells something. I only know, that it involves a kernel patch and some userspace stuff. If you don't feel like that, you could edit your init scripts and redirect all output >/dev/null.

If you don't want to allow console access, you can do it by editing /etc/inittab. Mine has lines like these, and yours should include something similar:

id:2:initdefault:
[lots of lines cut]
1:23:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2

These tell that /sbin/getty is run on vc's 1 and 2, if runlevel is 2 or 3, and that normal boot defaults to runlevel 2 (initdefault). Now change the default runlevel to eg. 4, and after next reboot you won't get login screens at all. If you need to get console access, you have to boot the machine into single-user mode. What users will see is the output of the last init script and init telling that there are no more processes.

man init
man inittab
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11799111
or simply disable getty (mingetty, vboxgetty, whatever) in /etc/inittab
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now