[comp.os.vms] how do you find out if logins are disabled.

AWPSYS@RITVAX.BITNET (07/28/87)

>Is there any way to find out if logins are disabled when a user logs in ?
>(There must be - VMS does it...)  I'd like to track users with OPER priv
>who login during SYSTEM maintenance time (when logins are disabled).  I
>DON'T want to disable them - just know when they login.  Checking the
>interactive count won't do either.

Since the command SET LOGIN/INTERACTIVE=n changes the SYSGEN parameter
IJOBLIM you can find out if logins are disabled by using the DCL lexical
function F$GETSYI() to find out what Logins are set to.

        Something like:

        $ if f$getsyi("IJOBLIM").eq.0 then  -
          write sys$output "Hey guys..logins are disabled"


Andrew W. Potter
Rochester Institute of Technology
Rochester NY.
AWPSYS@RITVAX.BITNET