Operating System - HP-UX
1833847 Members
2258 Online
110063 Solutions
New Discussion

/etc/issue server hostname change

 
Cliff Lim Kok Hwee
Regular Advisor

/etc/issue server hostname change

Hi Forum,

I will be changing the hostname for my serverA to server1.

/etc/hosts
/etc/rc.config.d/netconf

Currently the /etc/issue contains the following:

HP-UX serverA B.11.11 U 9000/800 1176484665 unlimited-user license

Query: Do I need to manuallY change the /etc/issue file to update to server1?
I guess it is not require because the above /etc/issue is corresponding to uname -a output.

Thanks/cliff

2 REPLIES 2
Devender Khatana
Honored Contributor

Re: /etc/issue server hostname change

Hi,

It should not be required unless someone has manually put these entries in /etc/issue. Even if it do not start displaying correct hostname after the changes, you can manually edit this file to reflect correct hostname.

HTH,
Devender
Impossible itself mentions "I m possible"
Bill Hassell
Honored Contributor

Re: /etc/issue server hostname change

/etc/issue has a very bad default (uname -a) and should never be allowed to have this information. The reason is that /etc/issue is presented to anyone/anything connecting to the server WITHOUT any authentication. It's not good to broadcast that your machine is HP-UX 11.11. Instead, you might provide the machine's name (never the location or the prupose of the machine) and perhaps a legal statement from your company's lawyer. Details about the machine can be put into /etc/motd as this is shown only after a valid login. NOTE: rlogind defaults to uname-a regardless of what /etc/issue says unless you add the -B option in /etc/inetd.conf so if you don't disable rlogind (which is a good idea), be sure to use the banner option:

rlogind -B /etc/issue


Bill Hassell, sysadmin