1825768 Members
2053 Online
109687 Solutions
New Discussion

HPUX 11.0 telnet banner

 
SOLVED
Go to solution
Joe White
Frequent Advisor

HPUX 11.0 telnet banner

HPUX 10.20 had a file called /etc/bannerfile for telnet. Is there a similar one for 11.0? /etc/bannerfile doesn't seem to work.
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: HPUX 11.0 telnet banner

Hi Joe,

It's quite easy. First create your desired textfile or simply use /etc/issue if it's what you want.

Next, edit /etc/inetd.cond and append
-b /etc/issue (or your file) to the telnet entry.

Finally, inetd -c and you're done.

Man telnetd for details.

Regards, Clay
If it ain't broke, I can fix that.
Kevin Wright
Honored Contributor

Re: HPUX 11.0 telnet banner

banner hello > bannerfile
in /etc/inetd.conf insert
-b /path/to/bannerfile
inetd -c
Kamlesh Shete
Advisor

Re: HPUX 11.0 telnet banner

All you need to do is make a /etc/motd file.

Like : banner hp rules > /etc/motd

It will work for telnet, rlogin etc

- KS