[rescue] gripe of the week

Todd C. Miller rescue at sunhelp.org
Fri Sep 21 15:18:31 CDT 2001


In message <20010921145733.G14220 at mrbill.net>
	so spake Bill Bradford (mrbill):

> HP-UX doesent support hostnames longer than 9 characters. suck.

[ note that this is based on my experience with HP-UX 10.x ]

Actually HP-UX does, it's just uname that does not.  The way to
work around this is to have a short alias for the host for uname's
benefit.  Put this name in /etc/rc.config.d/NODENAME

That way, 'hostname' will return the real (full) name and things
that use 'uname -n' to get the name will get the short alias.

 - todd



More information about the rescue mailing list