<?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 allocating fixed tty name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941967#M577220</link>
    <description>Greetings, &lt;BR /&gt;&lt;BR /&gt;I am a Linux user but in my new job there is a HP/UX 10x server with Windows9x&lt;BR /&gt;workstations and I have some doubts. I hope someone can help me.&lt;BR /&gt;&lt;BR /&gt;I am trying to run a script that handles tty name allocation. I mean depending &lt;BR /&gt;on a remote telnet conection I want to allocate the same /dev/ttyxx to a fixed&lt;BR /&gt;IP (say 192.168.1.xx) always. Is possible to reserve /dev/ttyxx to specific&lt;BR /&gt;conections.  Is there any way to do it with just Unix command and without &lt;BR /&gt;C-code.&lt;BR /&gt;By the other hand is there a cron.d deamon in HP/UX? and finally&lt;BR /&gt;what is the shell in HP/UX 10x ?.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Juan&lt;BR /&gt;Sorry for the english :)</description>
    <pubDate>Wed, 02 Apr 2003 15:22:46 GMT</pubDate>
    <dc:creator>Juan Chipoco</dc:creator>
    <dc:date>2003-04-02T15:22:46Z</dc:date>
    <item>
      <title>allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941967#M577220</link>
      <description>Greetings, &lt;BR /&gt;&lt;BR /&gt;I am a Linux user but in my new job there is a HP/UX 10x server with Windows9x&lt;BR /&gt;workstations and I have some doubts. I hope someone can help me.&lt;BR /&gt;&lt;BR /&gt;I am trying to run a script that handles tty name allocation. I mean depending &lt;BR /&gt;on a remote telnet conection I want to allocate the same /dev/ttyxx to a fixed&lt;BR /&gt;IP (say 192.168.1.xx) always. Is possible to reserve /dev/ttyxx to specific&lt;BR /&gt;conections.  Is there any way to do it with just Unix command and without &lt;BR /&gt;C-code.&lt;BR /&gt;By the other hand is there a cron.d deamon in HP/UX? and finally&lt;BR /&gt;what is the shell in HP/UX 10x ?.&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Juan&lt;BR /&gt;Sorry for the english :)</description>
      <pubDate>Wed, 02 Apr 2003 15:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941967#M577220</guid>
      <dc:creator>Juan Chipoco</dc:creator>
      <dc:date>2003-04-02T15:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941968#M577221</link>
      <description>Hello Juan,&lt;BR /&gt;&lt;BR /&gt;I don't know of any way to allocate the tty device file to an incoming connection.&lt;BR /&gt;&lt;BR /&gt;There is a cron daemon in HP-UX.  Try 'man cron' to read about it.  The default shell in HP-UX is the POSIX shell.  &lt;BR /&gt;&lt;BR /&gt;Your english is fine!&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 15:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941968#M577221</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-04-02T15:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941969#M577222</link>
      <description>To answer your questions:&lt;BR /&gt;&lt;BR /&gt;1) I know of no way to bind a tty to a specific IP address&lt;BR /&gt;&lt;BR /&gt;2) Yes, HP-UX has cron.  The daemon name is: cron&lt;BR /&gt;&lt;BR /&gt;3) It depends.  The default shell is the POSIX shell (/usr/bin/sh - man sh for more info).  You do have the K-shell (/usr/bin/ksh), C-shell (/usr/bin/csh) and the Bourne shell (/usr/old/bin/sh) available for use.</description>
      <pubDate>Wed, 02 Apr 2003 15:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941969#M577222</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-04-02T15:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941970#M577223</link>
      <description>telnetd (gthe daemon that allocates the pty pair for communication) picks the first available. There is no way to pick a specific device. If you could, it would get really complicated when some other process (like rlogin) picks your favorite device file. Since a script can determine the name of the currently allocated tty device (man who), your script can store the name. By default, all stdout and stderr is directed to the controlling tty so direct reference to the tty device isnt really needed.&lt;BR /&gt;&lt;BR /&gt;The standard shell for HP-UX is the POSIX shell (/usr/bin/sh). This shell is a superset of ksh (which is also a POSIX shell, just like bash). You can (as an ordinary user) change your shell using chsh.</description>
      <pubDate>Wed, 02 Apr 2003 15:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941970#M577223</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-04-02T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: allocating fixed tty name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941971#M577224</link>
      <description>No way to do what you want BUT it may not be necessary. When logged in, a user is assigned a pseudo tty connection, /dev/tty. I can do anything I  like to my /dev/tty without affecting your /dey/tty eventhough they APPEAR to be the same device. &lt;BR /&gt;&lt;BR /&gt;And yes, UNIX has a cron. /sbin/sh and /usr/bin/sh are POSIX shells (for your purposes, think of them as indistinguishable from Korn shells). DON'T even think about changing root's shell (which must be statically linked) or you will have an unbootable box.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 15:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/allocating-fixed-tty-name/m-p/2941971#M577224</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-04-02T15:46:05Z</dc:date>
    </item>
  </channel>
</rss>

