Disables login ports.
pdisable [ -a ] [ Device ]
The pdisable command disables a specific port, even if a user is logged in at that 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 pdisable command reports the names of currently disabled ports in its set.
Note: You must have root user authority to run this command.
-a | Disables all ports that are currently enabled. |
pdisable
pdisable -a
pdisable tty8
/etc/locks | Contains lock files for the pshare and delay commands. |
/usr/sbin/pdisable | Contains the pdisable command. |
The init command, pdelay command, penable command, phold command, pshare command, pstart command.
The inittab file.