[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4

phold Command

Purpose

Disables or reports the availability of login ports on hold.

Syntax

phold [ -a ] [ Device ]

Description

The phold command disables a set of login ports. The phold command allows logged-in users to continue, but does not allow any more users to log in. A user cannot log in on a disabled port. The system disables a port by updating an entry in the /etc/inittab file and then sending a signal to the init process. When the init process receives the signal and reads the updated status entry, it takes the appropriate action.

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

If you do not specify a Device parameter, the phold command reports the names of currently disabled ports in its set.

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

Flags

-a Holds all ports that are currently enabled.

Example

To list the ports that are currently on hold, enter:

phold

Files

/etc/locks Contains lock files for the pshare and pdelay commands.
/etc/phold Contains the phold command.

Related Information

The init command, pdelay command, pdisable command, penable command, pshare command, pstart command.

The inittab file.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]