[comp.os.vms] Please Try Later

JMS%uamis@RVAX.CCIT.ARIZONA.EDU ("Looking smart is no substitute for being smart.") (01/02/88)

Bob Curley asks about the problems with $ SET LOGIN/INTER=0.  In
particular, he doesn't care for the message you get when you try
to login.

We've come up with a reasonable solution for this type of problem.
It all rests on the use of secondary days for the purpose of
excluding normal user accounts.  If you use secondary days for
something else, this scheme won't work for you.

First, take all of your "non-system-staff" accounts, and change
their UAF entries so that they are disabled for all access on
secondary days.  

Then, create a .COM file which looks something like this:

$! LIB_STARTUP:USERS.COM
$!
$ set noon
$	if (P1) then $ goto normal_timesharing
$!
$ not_normal_timesharing:
$	set day/secondary
$	assign/exec/tabl=lnm$system_table "@lib_manager:nousers.txt"-
					   sys$announce
$	startup$interactive_logins == 1
$	exit 1
$!
$ normal_timesharing:
$	set day/default
$	startup$interactive_logins == 64
$	exit 1

To turn off normal user logins, say @commandfile NO.  To turn them
back on, say @commandfile YES.  The file LIB_MANAGER:NOUSERS.TXT
gets typed out BEFORE they get to the USERNAME prompt (we never have
a sys$announce except in this special case), it looks something like
this:

**************************************************************
*                                                            *
*           This VAX is currently unavailable                *
*                                                            *
*  VAX/VMS is running in software maintenance mode. Your     *
*  username is not valid at this time. For more information  *
*  on system availability, please contact the computer room  *
*  at (602) 621-2424.                                        *
*                                                            *
**************************************************************

If they insist on trying to log in, they get the "your username
is not valid at this time" message.

This seems to work quite well for us.

jms

+-------------------------------+
| Joel M Snyder                 |            BITNET: jms@arizmis.BITNET
| Univ of Arizona Dep't of MIS  |          Internet: jms@mrsvax.mis.arizona.edu
| Tucson, Arizona 85721         |   Pseudo-PhoneNET: (602) 621-2748
+-------------------------------+              ICBM: 32 13 N / 110 58 W
(I have gotten into trouble too many times to put any faith in disclaimers)
"There's nothing here that an overdose of Seconal won't cure."