source: trunk/packs/glue/xlock.sh @ 11833

Revision 11833, 832 bytes checked in by ghudson, 26 years ago (diff)
Reword the message: * the root password doesn't actually allow you to unlock the screen * Bury 'xlock.real' a little bit and try to discourage people more from using it.
Line 
1#!/bin/sh
2# $Id: xlock.sh,v 1.3 1998-07-31 19:38:43 ghudson Exp $
3
4if [ -r /etc/athena/rc.conf ]; then
5        . /etc/athena/rc.conf
6        if [ "$PUBLIC" != true ]; then
7                exec xlock.real "$@"
8        fi
9fi
10
11echo "xlock is not appropriate for cluster workstations, because"
12echo "it does not display an elapsed time or put up a button to"
13echo "allow others to log you out after a set time."
14echo ""
15echo "If you really wish to run xlock, run it as 'xlock.real' instead."
16echo "But if you do so, others may legitimately reboot the machine at"
17echo "any time to log you out."
18echo ""
19echo "Press return to read the On-Line Consulting stock answer about"
20echo "screensavers, or press Control-C to go back to the prompt."
21read dummy
22/bin/athena/attachandrun infoagents htmlview htmlview \
23        http://web.mit.edu/answers/workstations/other_xscreensaver.html
Note: See TracBrowser for help on using the repository browser.