Thanks to the following folks for their quick response:
"Samson, Jacques" <JSamson@nrcan.gc.ca>
Jafar Shameem <jsham@nomad.etsd.ml.com>
Ronald Loftin <reloftin@mailbox.syr.edu>
------------------------------------------------------------------------------
Original Question:
I've searched through the Sun Manager archive and SunSolve and can't find any
info on this topic so I thought I'd ask the Sun Gods...
We are running Solaris 2.5.1 and 2.6 workstations and we are looking for a way
to display a login banner whenever a user login to a machine. Some user uses
CDE and some use OpenWindow so the solution must be able to satisfy both
scenarios. I'm wondering if I can modify the white Sun logo screen which seem
to be common between both CDE and OpenWindows login. Or perhaps there are other
ways to go about this. Too bad there isn't a X version of motd. :)
------------------------------------------------------------------------------
Summary:
Turned out there is a "xmotd" out there as pointed out by Jacques and Jafar.
I'll download the product and give it a go. That sounds like the exact solution
that I was looking for since it looks to be a fairly complete product. Thank
you all. I would be able to modify the motd file from a mounted directory for
example and xmotd will notice the time difference and will pop up with the new
message automatically. No need to modify each workstation separately. Sounds
wonderful.
------------------------------------------------------------------------------
List of replies:
From: "Samson, Jacques" <JSamson@nrcan.gc.ca>
To: "'Thomas Wong'" <twong@ipsg.mot.com>
Subject: RE: CDE login banner?
Date: Fri, 8 May 1998 13:24:48 -0400
MIME-Version: 1.0
Hi Thomas,
Go take a look at http://www.ee.ryerson.ca/~elf/xmotd.html...
..............................................................................
From: Jafar Shameem <jsham@nomad.etsd.ml.com>
Subject: Re: CDE login banner?
To: twong@ipsg.mot.com
MIME-Version: 1.0
Content-MD5: PrAnj0ONAO/LOQQ9NJeguw==
$ man dthello
# cd /usr/dt/config/Xsession.d
# cat > 0050.dthello
dtstart_hello[0]="/usr/dt/bin/dthello -file /etc/motd &"
^D
# chmod a+rx 0050.dthello
you should be all set..
also.. do a search on 'xmotd' on altavista or some other search engine.
also, to the dthello command:
add the -fground color -bground color options so the sun logo won't
appear in the background.
..............................................................................
From: Ronald Loftin <reloftin@mailbox.syr.edu>
X-Sender: reloftin@asylum.syr.edu
To: Thomas Wong <twong@ipsg.mot.com>
Subject: Re: CDE login banner?
MIME-Version: 1.0
I had a similar request at another site some time ago, and my solution was
simply to put a line in the "Startup" script ( the one that runs sessreg
when a user logs in ) that ran an xterm with a relatively large font,
executing a script ( my memory is fading ) that did something like:
cat /etc/motd
sleep 10 ( or however long is appropriate )
This puts your message up when the user logs in and leaves it there for a
short time before the start of the session.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:39 CDT