Provides terminal state management.
tsm Port
The tsm command invokes the terminal state manager, which controls the ports used in the trusted path. The functions are:
Trusted path management occurs in two phases:
Item | Description |
---|---|
login | This phase is in effect if a user has not successfully logged in. If the secure attention key (SAK) signal is detected, the system restarts getty-login type processing. The next login puts the user into the trusted state, if the port and the user support the trusted state. |
shell | This phase occurs after successful user authentication. The
command functions according to the user's tpath attribute.
The following values are valid:
|
You can configure the tsm command to create your home directory at your login if you do not have a home directory already. The tsm command calls the mkuser.sys command to create the home directory and customize the account. To enable this capability, set the mkhomeatlogin attribute of the usw stanza in the /etc/security/login.cfg file to true.
Access Control: This command should grant execute (x) permission to any user. The command should be setuid to the root user and have the trusted computing base attribute.
Mode | File |
---|---|
r | /etc/objrepos/CuAt |
r | /usr/lib/objrepos/PdAt |
r | /etc/security/login.cfg |
r | /etc/security/user |
To provide terminal state management on tty0, add the following line to the /etc/inittab file:
tty0:2:respawn:/usr/sbin/tsm /dev/tty0
This initializes the port /dev/tty0 and sets up the characteristics of the port.
Item | Description |
---|---|
/usr/sbin/tsm | Contains the tsm command. |
/etc/security/login.cfg | Contains configuration information. |
/etc/security/user | Contains extended user attributes. |