D3Help - D3 and Advanced Pick Technical Support for  D3/AIX - D3/NT - D3/HP - D3/DG - D3/LINUX - D3/SCO - PROPLUS - AP/PRO - AP/NATIVE.

 

 

 

"Do it right the first time with a certified D3Help Expert"

 

 

 

Home General Support Data Corruption Down System Data Recovery Support Forum Live Chat About Us

24/7 Emergency Response (ER) Hotline 949-200-7052

 

 
 

 

Creating Turnkey Ports


top

 

 

 

 

 

 

 

 

 

 


Creating a Serial Turnkey

When a Unix system is booted all the terminals normally will get a Unix Login prompt where the users can login as 'root' or as a Unix user.  The reason the terminals are getting a Unix login prompt is because the /etc/inittab file in Unix has a line entry defined to respawn a getty (Unix login) process to the ttys.

A Pick Turnkey changes this /etc/inittab line to respawn a Pick process to the tty instead of the getty process. This causes a Pick Logon prompt to appear on the terminal instead of the Unix Login prompt.

The benefits to having the system configured as a Turnkey system is that the Pick users will not have to login to Unix before logging into Pick. This solves the security issue of users getting into Unix and possibly getting themselves into trouble with Unix. Creating a Pick Turkey system the users will never see Unix unless given permissions.

It is a good idea to have tty0 on S1 setup as an AIX terminal and tty1 on S2 the Pick port 0.


Note:

AIX / PICK Boot File: /etc/inittab
Use the AIX command mkitab to make an entry to the /etc/inittab file.

Use the AIX command chitab to change an entry to the /etc/inittab file.

Use the AIX command rmitab to remove an entry to the /etc/inittab file.


EXAMPLE:

To make a new entry to the inittab file that would respawn tty2 to PICK port 2 

Don't forget the double quotes

mkitab "pick02:2:respawn:ap -n pick0 2 -t /dev/tty2" {pick02 is the label and should be meaningful.}

chitab "pick02:2:respawn:/etc/getty /dev/tty2" {Uses the label pick02 to identify which line to change}

rmitab pick02 {double quotes are not needed}

 

The most important pitfall to watch for is to make sure that a getty process and a Pick Turnkey process is not configured to respawn to the same tty. If this happens it will prevent the tty from getting any login prompt and the tty will appear to be a dead.

top


Creating a Telnet Turkey

Turnkey Telnet Ports are configured in the /etc/inittab much the same way as serial turnkey ports

Turnkey Telnet make use of the tcp sockets in unix.


Note:

AIX / PICK Boot File: /etc/inittab
Use the AIX command mkitab to make an entry to the /etc/inittab file.

Use the AIX command chitab to change an entry to the /etc/inittab file.

Use the AIX command rmitab to remove an entry to the /etc/inittab file.


Here is an example how to make a new entry to the inittab file that would respawn a listener process on tcp socket 3002. When the user types in 'telnet hostname 3002' they will get a Pick logon prompt on Pick port 2.

Example entry to the /etc/inittab file:

pick02:2:respawn:ap -n pick0 2 -u /t3002,s


Any tcp socket number can be used providing it is above 3000 and does not exist in the /etc/services file. 

Make sure that the TCP port number is different for each turnkey port.

top


Contact the ER hotline if you need help setting up a Turnkey System