Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Annoying JESv4 motd Solaris 10

77 views
Skip to first unread message

cnurb

unread,
Aug 6, 2008, 8:53:59 AM8/6/08
to
Could someone please tell me how to get rid
of that annoying JESv4 motd ? I've edited my /etc/motd
and somehow it keeps getting changed back to all
this :

JESv4 Message of The Day (MOTD)

Welcome to the Sun Java Enterprise System 2005Q4!

For your convenience, this server has come equipped with
blah
blah
.
.

Thanks,
Carl

cnurb

unread,
Aug 6, 2008, 8:55:51 AM8/6/08
to

What is really gets changed to is the following link, but how ?

ls -l *motd*
lrwxrwxrwx 1 root root 54 Jul 29 15:04 motd -> /var/
spool/stage/JES_05Q4/MOTD_release4/JESv4_MOTD.txt

Richard B. Gilbert

unread,
Aug 6, 2008, 8:55:24 AM8/6/08
to

Have you tried changing the text to something non-annoying? An empty
file perhaps?

cnurb

unread,
Aug 6, 2008, 11:59:55 AM8/6/08
to
On Aug 6, 8:55 am, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:

I have put in non-annoying text in . But even if I do
that again or put in 0 characters, something is creating a link from
/etc/motd to
/var/ spool/stage/JES_05Q4/MOTD_release4/JESv4_MOTD.txt .

Richard B. Gilbert

unread,
Aug 6, 2008, 1:13:41 PM8/6/08
to

So put the non-annoying text in:
/var/spool/stage/JES_05Q4/MOTD_release4/JESv4_MOTD.txt

Martin Paul

unread,
Aug 7, 2008, 6:09:40 AM8/7/08
to
cnurb wrote:
> What is really gets changed to is the following link, but how ?

It's been some time since I saw that, and I don't have any machine with
the pre-installed OS here right now, but I believe that there is a
rc-script which re-creates the link. Use:

grep motd /etc/init.d/* /etc/rc*.d/*

to identify the script and modify it.

mp.
--
SysAdmin | Institute of Scientific Computing, University of Vienna
PCA | Analyze, download and install patches for Solaris
| http://www.par.univie.ac.at/solaris/pca/

Gary Mills

unread,
Aug 7, 2008, 8:33:54 AM8/7/08
to
In <489ac9e4$0$10578$3b21...@usenet.univie.ac.at> Martin Paul <m...@par.univie.ac.at> writes:

>cnurb wrote:
>> What is really gets changed to is the following link, but how ?

>It's been some time since I saw that, and I don't have any machine with
>the pre-installed OS here right now, but I believe that there is a
>rc-script which re-creates the link. Use:

We also never use the pre-installed version of Solaris on new
machines. We reinstall it with our own version. However, I did
see one recently. It was running Solaris 10 1/06 without patches
and had the telnet vulnerability!

> grep motd /etc/init.d/* /etc/rc*.d/*

>to identify the script and modify it.

--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-

cnurb

unread,
Aug 7, 2008, 8:35:44 AM8/7/08
to

That was it !

grep motd /etc/rc*.d/*
/etc/rc3.d/S99JESsplash:echo "Setting /etc/motd to JES splash
screen..."
/etc/rc3.d/S99JESsplash:MOTD=/etc/motd

Thank you mp !

0 new messages