Previous Topic: seload Utility—Load and Start CA ControlMinderNext Topic: selockcom Utility—Control the selock Utility


selock Utility—Lock the X Terminal Screen

Valid on UNIX

The selock utility protects your X terminal or station whenever you are away from your work area for any length of time. selock supports three modes of operation:

The default settings of selock combine the saver and lock modes.

Note: For more information about using selock to lock idle stations, see the Endpoint Administration Guide for UNIX.

This command has the following format:

selock [-delay period] [-display hostname:display#.screen#] [-fodelay factor] \
[-folevels levels] [-idelay seconds] [-lock-timeout minutes] \
[-pixmapFile fileName] [-pw-timeout seconds] 
‑delay period

Specifies the amount of time the system icon appears at one location on the screen before fading away and moving elsewhere on the screen. This is the standard screen saver activity and prevents screen burn‑in. The time period is entered in microseconds.

If you do not define this period, the utility uses the default value of 5000000 (five million).

‑display hostname:display#.screen#

Specifies which display monitor to lock. You can find the display and screen numbers in an X‑session listing of your system. You must have authorization from the user currently running the alternate display monitor defined here.

If you do not define this option, the utility locks your own display.

‑fodelay factor

Modifies the length of time each fade-out level remains visible on the screen. This lets the user extend the amount of time spent in each step without increasing the number of levels. The default value is 10.

‑folevels levels

Specifies the number of fade-out steps for the system icon. Increasing the number of fade-out levels causes smoother fading, but the icon takes longer to fade out. By default, the utility uses 20 fade-out steps.

‑help

Displays a help screen that explains the various selock options.

‑idelay seconds

Specifies the amount of time, in seconds, that passes after you log in before monitoring starts. If selock is part of your .login shell, this delay is needed while your system gets organized after you first log in. The default value is 30 seconds.

‑lock‑timeout minutes

If transparent=off, specifies the time, in minutes, selock spends in saver mode before changing to lock mode.

If transparent=on, specifies the time, in minutes, selock spends in monitor mode before changing to lock mode.

The default value, 0 invokes the lock mode immediately, effectively bypassing the saver mode.

‑pixmapFile fileName

Specifies the XPM file that selock displays in the background when the screen is locked and the transparent=on.

‑pw‑timeout seconds

Specifies the length of time the password dialog box remains on the screen. The default value is 30 seconds. Note that too large a number can cause problems with the X‑server. If the password is not entered correctly within the specified period, the password‑entry dialog closes and selock remains in lock mode.

‑segrace {on|off}

Specifies for selock to invoke segracex after identifying the user and password. However, selock does not invoke segrace if the user ID and password belong to the user whose name appears in the unlocking_user token (located in the [selock] section of the seos.ini). The default value is off.

Note: The segracex utility checks whether the user's password expired; if it has, a dialog appears in which the user can select a new password. For more information, see segrace Utility—Display User Login Settings on UNIX.

‑timeout minutes

Specifies the period of user inactivity after which selock switches from the monitor mode to the save mode. The default value is 10 minutes.

‑transparent {on|off}

Specifies whether selock leaves the contents of the screen visible when in lock mode. If you specify on, the display and update of on‑going processes continues. To indicate that the screen is locked, selock changes the background by displaying the contents of the file specified with the ‑pixmapFile option.
The default value is off.

‑user username

Specifies the user whose password is prompted for in the password dialog box, when user activity is detected in lock mode. The default value is the current user name. The password of root is accepted, regardless of which user is specified by the user option.

‑workhours (hh:mmhh:mm)

Specifies the period in which the user can unlock the screen. Before or after the specified period, the password dialog box does not appear if you touch the keyboard or mouse.

The default value is 00:00‑24:00; that is, the user can always unlock the screen.

‑xmin pixels

Specifies the minimum horizontal distance, in pixels, that the system icon jumps at each move. The default value is 100.

‑xmax pixels

Specifies the maximum horizontal distance, in pixels, that the system icon jumps at each move. The default value is 300.

‑ymin pixels

Specifies the minimum vertical distance, in pixels, that the system icon jumps at each move. The default value is 80.

‑ymax pixels

Specifies the maximum vertical distance, in pixels, that the system icon jumps at each move. The default value is 250.

More information:

Protection of Idle Stations

segrace Utility—Display User Login Settings on UNIX