Welcome msg

campbell at dev1a.mdcbbs.com campbell at dev1a.mdcbbs.com
Sat Jun 15 22:35:17 AEST 1991


In article <1991Jun12.160152.1242 at msuinfo.cl.msu.edu>, jpd at tardis.msu.edu (Joe P. DeCello) writes:
> My supervisor would like me to create a Welcome message on
> all Suns on our little network.  Something like clear the
> screen and display a three or four line Welcom msg at the
> top of the screen whenever a user logs out or if they enter
> an inaccurate login.


Joe

On an HP (HP-UX - a SYSV operating system) this is handled by placing
the appropriate message in a file named /etc/issue.

On a Sun however, things are a bit more complicated - which is a surprise
to me because Sun's are usually easier to work with (BSD unix) as opposed to
HPs (SYSV unix).

If you have Sun 386i's there's a full-screen graphical (with mouse support)
login panel which is enabled by using the -n option of the getty command.  It
also requires that the terminal has the graphics frame buffer and that it is
enabled in /etc/ttytab - otherwise this option wont work.

If you have any other sun, the only option I'm aware of is the "im" (initial
message) banner.  There's a field in the /etc/gettytab file where you can
specifiy the inital message which should be displayed before the login prompt.
The default is NULL (no message to display).

For more details on this, see the man page entries for getty, gettytab, and
ttytab.

	-Tim



More information about the Comp.unix.questions mailing list