1825891 Members
3122 Online
109689 Solutions
New Discussion

Startup Messages

 
Ali Imran Abbas
Regular Advisor

Startup Messages

Could any one help me how to change the welcome message on hpux servers. Also I need to know how to change the message that comes before the login prompt.

Regards,

Ali
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Startup Messages

Are you talking about a CDE login or a command line?
The latter is from /etc/issues. After you login there is /etc/motd.
See:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1108364
Pete Randall
Outstanding Contributor

Re: Startup Messages

If it is CDE, then take a look at this thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1188267


Pete

Pete
Bill Hassell
Honored Contributor

Re: Startup Messages

The message that comes BEFORE you login is normally /etc/issue, but most lawyers and security professionals will tell you not to put in a 'welcome' message in there. Since it is displayed before you ever authenticate yourself, it should be very uninformative, perhaps just the name of the computer. Your lawyers may want to put warnings about trying to access this machine without proper authorization in this pre-login message.

After login (using a 'normal' telnet login) the message is /etc/motd which is Message Of The Day. This can be more informative because only users that have successfully logged in will see it. /etc/motd is displayed when /etc/profile is run.

Now for the exceptions:

VUE or CDE runs outside of the normal login processes so refer to the link above if you are talking about Xwindows and a desktop manager. For telnet, the daemon (telnetd) has an option (-b) that allows you to specify a different file than /etc/issue. For rlogin, there is a -B option to specify a different pre-login message. These options are recorded in /etc/inetd.conf.


Bill Hassell, sysadmin