<?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: Modify hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737669#M255621</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can find more information by looking at the man page, # man hostname &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Thu, 23 Feb 2006 00:32:35 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-02-23T00:32:35Z</dc:date>
    <item>
      <title>Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737660#M255612</link>
      <description>Is it possible modify hostname only affect on current telnet session? &lt;BR /&gt;&lt;BR /&gt;For example: Assume hostname=HOSTA&lt;BR /&gt;In telnet Session1: Modify hostname to HOSTB&lt;BR /&gt;&lt;BR /&gt;In telnet Session2: the hostanme still HOSTA&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 22 Feb 2006 21:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737660#M255612</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2006-02-22T21:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737661#M255613</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;NO, It is not possible.&lt;BR /&gt;&lt;BR /&gt;May be you can set the hostname temporarily by #hostname HOSTB which will be appilcable till next reboot or next time you change the hostname using #hostname command. But whenever you change the hostname it WILL be applicable for ALL users/sessions connected to the server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva</description>
      <pubDate>Wed, 22 Feb 2006 21:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737661#M255613</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-02-22T21:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737662#M255614</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;assuming the application or the script that you are going to work with it queries the hostname environment variable, you can just do:&lt;BR /&gt;&lt;BR /&gt;export HOSTNAME=HOSTB&lt;BR /&gt;&lt;BR /&gt;unfortunately, the hostname HOSTB command will not work! it does the change across the system&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 22 Feb 2006 22:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737662#M255614</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-22T22:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737663#M255615</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;It is not possible. Once you modify the hostname it affects the entire system. Who ever logs in, will see HOSTB, not HOSTA.&lt;BR /&gt;&lt;BR /&gt;Hope this is clear. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 22 Feb 2006 22:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737663#M255615</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-22T22:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737664#M255616</link>
      <description>Hi,&lt;BR /&gt;   It is impossible to my knowledge.&lt;BR /&gt;But, possible to change the hostname in all sessions temperiorly, by executing&lt;BR /&gt;&lt;BR /&gt;$hostname &lt;NEWNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S&lt;/NEWNAME&gt;</description>
      <pubDate>Wed, 22 Feb 2006 22:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737664#M255616</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-02-22T22:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737665#M255617</link>
      <description>Yep.&lt;BR /&gt;&lt;BR /&gt;Use like,&lt;BR /&gt;&lt;BR /&gt;# hostname &lt;NEW hostname="" for="" that="" session=""&gt;&lt;BR /&gt;&lt;BR /&gt;# uname -S &lt;NEW node="" name="" to="" effect="" in="" uname=""&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 22 Feb 2006 23:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737665#M255617</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-22T23:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737666#M255618</link>
      <description>If you are changing with hostname then it will be using same hostname until reboot. For different sessions you have to setup hostname. Else put it in $HOME/.profile.&lt;BR /&gt;&lt;BR /&gt;If you want to have original hostname then /sbin/init.d/hostname stop;/sbin/init.d/hostname start will give that.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 22 Feb 2006 23:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737666#M255618</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-22T23:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737667#M255619</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;       Please do not change the hostname using "hostname" or "uname",Though temperory this could cause trouble to the apps which are already refering the system with the old hostname.&lt;BR /&gt;&lt;BR /&gt;       Ex: CDE sessions for instance.&lt;BR /&gt;&lt;BR /&gt;       First let us know what is the purpose you are trying to achieve in wanting to do so.&lt;BR /&gt;&lt;BR /&gt;       Probably, someone here could provide a workaround solution based on your requirement.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A&lt;BR /&gt;&lt;BR /&gt;P.S: Furthermore,I would stongly discourage doing so in production systems.More over only root can set the hostname temperorily using "hostname" command, so u can realize the gravity of doing the same right....</description>
      <pubDate>Wed, 22 Feb 2006 23:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737667#M255619</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-22T23:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737668#M255620</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;just one clarification. (did test it)&lt;BR /&gt;&lt;BR /&gt;hostname HOSTB &lt;BR /&gt;&lt;BR /&gt;command will change the hostname of the server at system level. Such that all sessions will be affected. Even those already connected. The hostname value will change for all sessions!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 22 Feb 2006 23:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737668#M255620</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-22T23:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737669#M255621</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can find more information by looking at the man page, # man hostname &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 23 Feb 2006 00:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737669#M255621</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-23T00:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737670#M255622</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would go with Senthil Kumar,&lt;BR /&gt;&lt;BR /&gt;Pls be clear with your objective before going ahead and changing hostname while system is up and running. Your applicattions would go for a toss.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;deepak</description>
      <pubDate>Thu, 23 Feb 2006 10:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737670#M255622</guid>
      <dc:creator>Deepak.R</dc:creator>
      <dc:date>2006-02-23T10:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737671#M255623</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would go with Senthil Kumar,&lt;BR /&gt;&lt;BR /&gt;Pls be clear with your objective before going ahead and changing hostname while system is up and running. Your applicattions would go for a toss.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;deepak</description>
      <pubDate>Thu, 23 Feb 2006 10:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737671#M255623</guid>
      <dc:creator>Deepak.R</dc:creator>
      <dc:date>2006-02-23T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modify hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737672#M255624</link>
      <description>Sooo, _why_ do you want to change the hostname for a specific telnet session?&lt;BR /&gt;&lt;BR /&gt;I suppose, that someone _really_ careful could replace the hostname command with a script and move the real hostname command somewhere that a shell user might not normally find it.  Of course, that itsn't terribly robust, and there would still be the issue of the uname command, and then applications launched from that telnet session that called gethostname() and such...</description>
      <pubDate>Thu, 23 Feb 2006 20:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-hostname/m-p/3737672#M255624</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-02-23T20:38:05Z</dc:date>
    </item>
  </channel>
</rss>

