How I can I remove the welcome screen for HPUX
ie
- *
- *
- Welcome to AIX Version 5.3! *
- *
but only for some users ?
Thanks
How I can I remove the welcome screen for HPUX
ie
but only for some users ?
Thanks
Customize /etc/profile with a test if user then skip the MOTD (or issue part....)...
Hi
Customise with what ? - I am not sure of the command to use
and how do I skip the MOTD ?
Thanks
Edit /etc/profile with vi
# Since we dont know what you want to skip, here are what could possibly display
# on output at login:
# midding /etc/issue, many people modify to put hostname with banner...
# extract of /etc/profile
# This is to meet legal requirements...
cat /etc/copyright
# Message of the day
if [ -r /etc/motd ]
then
cat /etc/motd
fi
# Notify if there is mail
if [ -f /usr/bin/mail ]
then
if mail -e
then echo "You have mail."
fi
fi
# Notify if there is news
if [ -f /usr/bin/news ]
then news -n
fi
# -etc ....
Thanks a million