[Info-vax] login information capture
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu Feb 20 17:30:51 EST 2014
On 2014-02-20 21:52:17 +0000, pcoviello at gmail.com said:
> hmmm interesting ideas I'll have to look into it, yes it is one company
> and a bunch of users that does change,
> well I had to remove the part about interactive logins, it was
> preventing the vendor from getting in.
There's likely something else going on with that, then. Maybe some
weird mode for whatever path your interactive login session is taking?
You're on a very old VMS version, so equally old bugs are not a huge
surprise here, too. More to the point: do some debugging, and post
your code.
> and we also noticed that it is asking to enter the infobelow even
> though the info is above and you are at the prompt!
>
> OSC$FACS1> @dsa100:[osc]login.com
> Why are you here?: Name, CCS Contact and Case # please! testing
>
> OSC$FACS1>
This "Enter your message below. Press CTRL/Z when complete, or CTRL/C
to quit:" is the standard output from mail when it starts prompting.
If that text bugs you, the following will suppress that output:
$ if f$mode() .eqs. "INTERACTIVE"
$ then
$ read/prompt="Why are you here? " sys$command reason
$ pipe (write sys$output "Reason specified: " + reason ; -
show logical/job sys$rem* ) | -
mail/subj="Vendor login notification" SYS$PIPE: VMSUSERTONOTIFY > NLA0:
$ endif
There are other ways to do this.
I'd tend to recommend outsourcing your VMS systems here, or potentially
replacing your VMS systems with something you can support in-house, or
getting somebody in to write and debug these prompts for you — as
others have stated, there are about a billion ways to do this stuff,
and local requirements and expectations can and do vary.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list