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
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
Have you tried changing the text to something non-annoying? An empty
file perhaps?
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 .
So put the non-annoying text in:
/var/spool/stage/JES_05Q4/MOTD_release4/JESv4_MOTD.txt
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/
>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-
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 !