pdelay Command

Purpose

Enables or reports the availability of delayed login ports.

Syntax

pdelay [ -a ] [ Device ]

Description

The pdelay command enables delayed ports. Delayed ports are enabled like shared ports, except that the login herald is not displayed until you type one or more characters (usually carriage returns). If a port is directly connected to a remote system or connected to an intelligent modem, it is enabled as a delayed port to prevent the getty command from talking to a getty on the remote side or to the modem on a local connection. This action conserves system resources and is equivalent to pdelay enabled=delay. If you do not specify a Device parameter, the pdelay command reports the names of the currently enabled ports.

Use the Device parameter to specify the ports to be enabled. Permitted values include:

  • Full device name, such as the /dev/tty1 device
  • Simple device name, such as the tty1 device
  • A number (for example, 1 to indicate the /dev/tty1 device)

    Note: You must have root user authority to run this command.

Flags

Item Description
-a Enables all ports as delayed.

Security

Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Example

To display the names of the delayed ports that are currently enabled, enter:

pdelay

Files

Item Description
/etc/locks Contains lock files for the pshare and pdelay commands.
/usr/sbin/pdelay Contains the pdelay command.