jpd@tardis.msu.edu (Joe P. DeCello) (06/12/91)
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. thanx for any suggestions. -Joe -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Joseph P. DeCello III e-mail: jpd@tardis.cl.msu.edu Michigan State University phone: (517) 353-3027 Specialized Computing Support Services
campbell@dev1a.mdcbbs.com (06/15/91)
In article <1991Jun12.160152.1242@msuinfo.cl.msu.edu>, jpd@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
jba@gorm.ruc.dk (Jan B. Andersen) (06/19/91)
campbell@dev1a.mdcbbs.com writes: >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). It wasn't me asking in the first place, but thanks for the info. But - in these times of networking a lot of people login using telnet and/or rlogin. I don't know about rlogin, but appearently it won't work with telnetd. Could one just create a small program that printed the message and exec'ed to in.telnetd?? >For more details on this, see the man page entries for getty, gettytab, and >ttytab. > -Tim -- /| / Jan B. Andersen /^^^\ .----------------. / | / RUC, Hus 19,1 jba@dat.ruc.dk { o_o } | SIMULA does it | /--|/ Postbox 260 DG-passer@ruc.dk \ o / --> | with CLASS | `--' ' DK-4000 Roskilde Postmaster@ruc.dk --mm---mm-- `----------------'
guy@auspex.auspex.com (Guy Harris) (06/21/91)
>But - in these times of networking a lot of people login using telnet and/or >rlogin. I don't know about rlogin, "rlogind" prints no initial greeting message of any sort; it sort of starts things running in the middle of "login", at the point where "login" prompts for the password. >but appearently it won't work with telnetd. Nope, older versions of the "telnet" daemon can't be told about "gettytab" entries or "im" capabilities. I think the latest BSD version can.