LOCKSCREEN(1) — USER COMMANDS
NAME
lockscreen, lockscreen_default − maintain SunView context and prevent unauthorized access
SYNOPSIS
lockscreen [ −enr ] [ −b program ] [ −t seconds ] [ gfx-program [ gfx-program-arguments ] ]
AVAILABILITY
This command is available with the SunView 1 User’s software installation option. Refer to Installing the SunOS for information on how to install optional software.
DESCRIPTION
lockscreen is a SunView utility that locks the screen against unauthorized access while preserving the state of the SunView display. It clears the workstation screen to black, and then runs gfx-program, which typically provides a moving graphics display to reduce phosphor burn. If no gfx-program is provided, a suitable default program is run.
lockscreen requires the user’s password before restoring the window context. When any keyboard or mouse button is pressed, the graphics screen is replaced by a password screen that displays the user name, a small box with a bouncing logo, and a prompt for the user’s password. If the user has no password, or if the −n option is used, the window context is simply restored.
When the password screen appears:
• Restore the window context by entering the user’s password followed by a RETURN (this password is not echoed on the screen) or,
• Point to the black box and click the left button to return to the graphics display.
If neither of the above actions is taken, gfx_program will resume execution after the interval specified with the −t option.
OPTIONS
−e Add the Exit Desktop choice to the password screen. If pointed to and clicked, the SunView environment is exited and the current user is logged out.
−n Require no password to reenter the window environment.
−r Allow the use of the user name root in the ‘Name:’ field of the password screen. Normally, root is not accepted as a valid user name.
−b program Allow an additional program to be run as a child process of lockscreen. This background process could be a compile server or some other useful program that the user wants run while lockscreen is running. No arguments are passed to this program.
−t seconds After seconds seconds, clear the password screen and restart gfx-program. The default is 5 minutes (300 seconds).
[ gfx-program ] [ gfx-program-arguments ]
Run this program after clearing the screen to black. If no program argument is present, lockscreen will try to run lockscreen_default if it exists on the standard search path, otherwise a bouncing Sun logo will appear. If gfx-program-arguments are specified and the gfx-program is not then the arguments are passed to lockscreen_default. lockscreen_default is typically a non-interactive graphics program (see graphics_demos(6)). lockscreen will not search for lockscreen_default if the gfx-program is specified explicitly as an empty argument (an adjacent pair of double quotes ("")).
FILES
/usr/bin/lockscreen_default
Default gfx-program. This displays a series of life(6) patterns. If a file named lockscreen_default appears earlier in the search path, that file is used instead.
SEE ALSO
Sun Release 4.0 — Last change: 22 March 1989