<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991487#M755677</link>
    <description>Well...., I'm talking about telnet..., telnet shows that..., if you connect to the server using ssh you will not see that, so ...I think that maybe modifying the /etc/inetd.conf file or something like that you could achieve that, but ssh doesn't show that.&lt;BR /&gt;&lt;BR /&gt;Marc0</description>
    <pubDate>Tue, 01 May 2007 08:47:53 GMT</pubDate>
    <dc:creator>Marco A.</dc:creator>
    <dc:date>2007-05-01T08:47:53Z</dc:date>
    <item>
      <title>Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991480#M755670</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;When i am doing a telnet to my system it is showing  following message before login prompt.&lt;BR /&gt;"HP-UX Hostname B.11.11 U 9000/800 (tb)"&lt;BR /&gt;&lt;BR /&gt;But security point of view it should not be happend so please let me know how should i change this and normally instade of this message what should i put ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 May 2007 00:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991480#M755670</guid>
      <dc:creator>Eric Jacklin</dc:creator>
      <dc:date>2007-05-01T00:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991481#M755671</link>
      <description>Hi,&lt;BR /&gt;have you checked the file /etc/inetd.conf .&lt;BR /&gt;Look for the telnet line, which would call a file.&lt;BR /&gt;&lt;BR /&gt;You may want to look at this similar thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223757" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223757&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please read:&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/after.html" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/after.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;So far you have rewarded only 7 of 45 answers !</description>
      <pubDate>Tue, 01 May 2007 02:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991481#M755671</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-05-01T02:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991482#M755672</link>
      <description>&amp;gt;But security point of view it should not be &lt;BR /&gt;&amp;gt;happend so please let me know how should i &lt;BR /&gt;&amp;gt;change this and normally instade of this &lt;BR /&gt;&amp;gt;message what should i put ?&lt;BR /&gt;&lt;BR /&gt;From a security point of view, you shouldn't be running telnet at all.  All network traffic, including passwords, is transmitted in cleartext.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Tue, 01 May 2007 07:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991482#M755672</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-05-01T07:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991483#M755673</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You can check for that at the following files.&lt;BR /&gt;&lt;BR /&gt;/etc/motd&lt;BR /&gt;/etc/profile or $HOME/.profile , but actually I believe that these two option are the right for you.&lt;BR /&gt;&lt;BR /&gt;Try that, and let us know your results trying to enter to the system again.&lt;BR /&gt;&lt;BR /&gt;Marc0</description>
      <pubDate>Tue, 01 May 2007 07:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991483#M755673</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-01T07:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991484#M755674</link>
      <description>Check this out. &lt;BR /&gt;&lt;BR /&gt;At the end of my "/root/.profile" you can see the following. :&lt;BR /&gt;&lt;BR /&gt;# Set up shell variables:&lt;BR /&gt;&lt;BR /&gt;        MAIL=/var/mail/root&lt;BR /&gt;        # don't export, so only login shell checks.&lt;BR /&gt;&lt;BR /&gt;        echo "WARNING:  YOU ARE SUPERUSER !!\n"&lt;BR /&gt;        export HISTFILE=/root/.sh_history&lt;BR /&gt;        export HISTSIZE=3000&lt;BR /&gt;        umask 022&lt;BR /&gt;        PS1=`id -un`'@'`hostname`:'${PWD##//}&amp;gt; '&lt;BR /&gt;&lt;BR /&gt;----------------&lt;BR /&gt;Probably you have something like that with that message in your .profile file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;MArc0</description>
      <pubDate>Tue, 01 May 2007 08:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991484#M755674</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-01T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991485#M755675</link>
      <description>Check the /etc/copyright file, which is cat'd in /etc/profile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 01 May 2007 08:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991485#M755675</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-05-01T08:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991486#M755676</link>
      <description>Hello John,&lt;BR /&gt;&lt;BR /&gt;Actually I see that the banner you say could not be removed and is part of the system.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-6482/ch03s10.html" target="_blank"&gt;http://docs.hp.com/en/5991-6482/ch03s10.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;AFTER logged into the system, you can see reflected the other banner such as /etc/motd, /etc/issue, /etc/copyright , and the .profile files.&lt;BR /&gt;&lt;BR /&gt;I believe that info cannot be remove it from there.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 01 May 2007 08:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991486#M755676</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-01T08:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991487#M755677</link>
      <description>Well...., I'm talking about telnet..., telnet shows that..., if you connect to the server using ssh you will not see that, so ...I think that maybe modifying the /etc/inetd.conf file or something like that you could achieve that, but ssh doesn't show that.&lt;BR /&gt;&lt;BR /&gt;Marc0</description>
      <pubDate>Tue, 01 May 2007 08:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991487#M755677</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-01T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991488#M755678</link>
      <description>ok. this msg :&lt;BR /&gt;"HP-UX Hostname B.11.11 U 9000/800 (tb)"&lt;BR /&gt;is the default for telnet&lt;BR /&gt;&lt;BR /&gt;to remove it do the following:&lt;BR /&gt;a) create a file containing whatever you want this to say instead of the above msg.  this file *can* be empty if desired.  for this example, we're going to call it "/etc/blankfile"&lt;BR /&gt;&lt;BR /&gt;b) edit /etc/inetd.conf.  find the line w/ telnetd. you need to add &lt;BR /&gt;"-b /etc/blankfile" to the end so that it looks like this:&lt;BR /&gt;telnet  stream tcp nowait root /usr/lbin/telnetd  &lt;BR /&gt;telnetd -b /etc/blankfile&lt;BR /&gt;&lt;BR /&gt;c) restart inetd running &lt;BR /&gt;"/usr/sbin/inetd -c"&lt;BR /&gt;&lt;BR /&gt;the offending message should be gone</description>
      <pubDate>Tue, 01 May 2007 09:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991488#M755678</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-05-01T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991489#M755679</link>
      <description>wow..., was close!!! =), good tip partner .., I knew that the inetd file was in the issue but don't knew what to change on it...&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 01 May 2007 09:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991489#M755679</guid>
      <dc:creator>Marco A.</dc:creator>
      <dc:date>2007-05-01T09:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991490#M755680</link>
      <description>The line you are seeing with telnet is the file /etc/issue. NONE of the other files mentioned (/etc/motd, /etc/copyright, etc) are seen until after the login has been completed. Yes, you are absolutely correct that this is a security issue. Without any authentication at all, this file has provided the name of the OS, the hostname and the revision of the OS, all very useful to a hacker.&lt;BR /&gt; &lt;BR /&gt;First, immediately change the /etc/issue file to nothing more than an identifier of the system, perhaps an alias or maybe just your company name -- nothing more.&lt;BR /&gt; &lt;BR /&gt;Now, edit /etc/inetd.conf and make sure that telnet and rlogin have the /etc/issue file explicitly stated:&lt;BR /&gt; &lt;BR /&gt;telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd -b /etc/issue&lt;BR /&gt;login        stream tcp nowait root /usr/lbin/rlogind  rlogind -B /etc/issue&lt;BR /&gt; &lt;BR /&gt;It's important to note that if you do NOT specify the -b or -B option for these commands, they will use the default which looks like what you are seeing. Also, /etc/issue right out of the box looks like this:&lt;BR /&gt; &lt;BR /&gt;GenericSysName [HP Release B.11.11] (see /etc/issue)&lt;BR /&gt; &lt;BR /&gt;not a good choice. Once you change /etc/issue and inetd.conf, run inetd -c to re-read the file and tail syslog.log to make sure the changes were seen. Now, the no-login information will be secure.&lt;BR /&gt; &lt;BR /&gt;NOTE: You certainly can put a blank line in /etc/issue but then it's tricky to figure out if you have connected to the right machine. And if you do not use ssh, worrying about /etc/issue is just rearranging deck chairs on the Titanic.</description>
      <pubDate>Tue, 01 May 2007 12:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login/m-p/3991490#M755680</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-05-01T12:32:42Z</dc:date>
    </item>
  </channel>
</rss>

