- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: allocating fixed tty name
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:22 AM
04-02-2003 07:22 AM
allocating fixed tty name
I am a Linux user but in my new job there is a HP/UX 10x server with Windows9x
workstations and I have some doubts. I hope someone can help me.
I am trying to run a script that handles tty name allocation. I mean depending
on a remote telnet conection I want to allocate the same /dev/ttyxx to a fixed
IP (say 192.168.1.xx) always. Is possible to reserve /dev/ttyxx to specific
conections. Is there any way to do it with just Unix command and without
C-code.
By the other hand is there a cron.d deamon in HP/UX? and finally
what is the shell in HP/UX 10x ?.
Thanks,
Juan
Sorry for the english :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:27 AM
04-02-2003 07:27 AM
Re: allocating fixed tty name
I don't know of any way to allocate the tty device file to an incoming connection.
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.
Your english is fine!
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:30 AM
04-02-2003 07:30 AM
Re: allocating fixed tty name
1) I know of no way to bind a tty to a specific IP address
2) Yes, HP-UX has cron. The daemon name is: cron
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:44 AM
04-02-2003 07:44 AM
Re: allocating fixed tty name
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.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 07:46 AM
04-02-2003 07:46 AM
Re: allocating fixed tty name
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.