🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.org.decus
Article #99

Re: Logout com file

#99
From: kaiser
Date: Tue, 28 Nov 1989 14:15
21 lines
1228 bytes
In article <435@nems.dt.navy.mil>, mhart@dtoa1.dt.navy.mil (hart) writes...

>Does anyone know how to get a command file to run every time a user
>logs out??   Kinda like login.com, but a "logout.com"???

In VMS through V5.3 there is no way to guarantee execution of a "LOGOUT.COM",
since a user can always bypass it (for instance, with STOP/ID=0).  For
unsophisticated (or cooperative) users you can use SYLOGIN.COM to define a
symbol that runs a systemwide command procedure when the user enters "LOGOUT",
e.g.,

	$ LOGO*UT := @PUBLIC:LOGOUT.COM

But what problem are you trying to solve with this technique?  Whatever it is,
you're more likely to get specific help if you ask about the specific problem.

---Pete

kaiser@cheese.enet.dec.com
DEC, 2 Mt. Royal Ave. (UPO1-3), Marlboro MA 01752-9108
508-480-4345 (machine: 617-641-3450)
Technical Details
Message-ID: <6401@shlump.nac.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!decwrl!shlump.nac.dec.com!cheese.enet.dec.com!kaiser

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!decwrl!shlump.nac.dec.com!cheese.enet.dec.com!kaiser
From: kaiser@cheese.enet.dec.com
Newsgroups: comp.org.decus
Subject: Re: Logout com file
Message-ID: <6401@shlump.nac.dec.com>
Date: 28 Nov 89 14:15:54 GMT
Sender: newsdaemon@shlump.nac.dec.com
Organization: DEC Systems Consulting Group
Lines: 21