<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Recall Command in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947602#M22388</link>
    <description>OpenVMS 7.3-2&lt;BR /&gt;&lt;BR /&gt;Is there a way to do "Recall/Output=file.ext" from a command procedure?&lt;BR /&gt;&lt;BR /&gt;I checked the manual and it refers to terminal buffer only but perhaps there is a way to redirect the buffer within a command procedure.&lt;BR /&gt;&lt;BR /&gt;*note- I had earlier posted this on the wrong forum .&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Dec 2005 10:05:58 GMT</pubDate>
    <dc:creator>Zeni B. Schleter</dc:creator>
    <dc:date>2005-12-19T10:05:58Z</dc:date>
    <item>
      <title>Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947602#M22388</link>
      <description>OpenVMS 7.3-2&lt;BR /&gt;&lt;BR /&gt;Is there a way to do "Recall/Output=file.ext" from a command procedure?&lt;BR /&gt;&lt;BR /&gt;I checked the manual and it refers to terminal buffer only but perhaps there is a way to redirect the buffer within a command procedure.&lt;BR /&gt;&lt;BR /&gt;*note- I had earlier posted this on the wrong forum .&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2005 10:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947602#M22388</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-19T10:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947603#M22389</link>
      <description>The recall buffer remembers commands entered at a terminal not anything from a command procedure. What are you trying to achive?</description>
      <pubDate>Mon, 19 Dec 2005 10:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947603#M22389</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-12-19T10:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947604#M22390</link>
      <description>Zeni,&lt;BR /&gt;&lt;BR /&gt;you can view the command recall buffer with SDA:&lt;BR /&gt;&lt;BR /&gt;$ SET PROC/PRIV=CMK&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;CLUE PROCESS/RECALL&lt;BR /&gt;EXIT&lt;BR /&gt;&lt;BR /&gt;For a sufficiently privileged user, these commands can be executed in a DCL procedure.&lt;BR /&gt;&lt;BR /&gt;The RECALL commands only work if you are at the DCL prompt, not from within a DCL procedure.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 19 Dec 2005 10:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947604#M22390</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-19T10:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947605#M22391</link>
      <description>I am trying to collect commands issued for a privileged interactive session.&lt;BR /&gt;&lt;BR /&gt;I have set up the LOGGER utility from the freeware link.  It works but capturing the command stream would take less space.&lt;BR /&gt;&lt;BR /&gt;Bullet-proof is not part of the requirement. Privileged users by definition have privileged access.</description>
      <pubDate>Mon, 19 Dec 2005 11:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947605#M22391</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-19T11:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947606#M22392</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can do the following:&lt;BR /&gt;&lt;BR /&gt;$ define sys$output tempfile.tmp&lt;BR /&gt;$ recall/all&lt;BR /&gt;$ deassign sys$output&lt;BR /&gt;&lt;BR /&gt;You will find all previous entered commands in tempfile.tmp&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Mon, 19 Dec 2005 11:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947606#M22392</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2005-12-19T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947607#M22393</link>
      <description>The Clue Process works for OpenVMS 7.3-2 but I have some VAX at v7.1.</description>
      <pubDate>Mon, 19 Dec 2005 11:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947607#M22393</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-19T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947608#M22394</link>
      <description>Heinz,&lt;BR /&gt; Trying to redirect the output did not work on either VMS 7.1 nor VMS 7.3-2&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2005 11:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947608#M22394</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-19T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947609#M22395</link>
      <description>Volker,&lt;BR /&gt; The Analy/Sys will work well for the newer systems.  That will help a lot.  Thanks.&lt;BR /&gt;  The logger routine will work for the older systems.  Since there is less activity on those, that should be livable.&lt;BR /&gt;  Thanks to all for input.</description>
      <pubDate>Mon, 19 Dec 2005 11:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947609#M22395</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-19T11:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947610#M22396</link>
      <description>Zeni,&lt;BR /&gt;&lt;BR /&gt;you dind't say you wanted to do this on VAX as well ;-)&lt;BR /&gt;&lt;BR /&gt;See the following article for how to do this on a VAX. There are no CLUE$SDA extensions for OpenVMS VAX.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h18000.www1.hp.com/support/asktima/operating_systems/00947357-25899660-1C01E7.html" target="_blank"&gt;http://h18000.www1.hp.com/support/asktima/operating_systems/00947357-25899660-1C01E7.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 19 Dec 2005 11:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947610#M22396</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-19T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947611#M22397</link>
      <description>&lt;BR /&gt;fyi,&lt;BR /&gt;&lt;BR /&gt;RECALL/ALL explicitly protects against writing to an output file when in batch mode. They (Dave M) designed it that way in order to protect against malicious batch jobs 'scraping' the command stream for passwords. I always thought this was a poorly exectued idea as it is obviously very handy to be able to save teh recall automatically when you logout. But this is the way it is (unfortunately) designed to work and how it will stay working.&lt;BR /&gt;&lt;BR /&gt;There is code (freeware) out there that can help with this problem. There are even DCL prodecures that dive into DCL data space to extract the old commands. Google and yeah shall find.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2005 11:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947611#M22397</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-12-19T11:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947612#M22398</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;Can you say some more about this idea of batch jobs (or is it reallly command procedures?) "scraping" the DCL buffer ?&lt;BR /&gt;&lt;BR /&gt;I have wanted from the day that RECALL/OUTPUT came out to be able to have a logout command that would capture my command stream and let me reload it when I log back in.  &lt;BR /&gt;&lt;BR /&gt;The closest I ever came to this was setting up keypad commands to implement the RECALL/OUTPUT command.  The problem with that is that it's just too much effort to remember to do it every time consistently, and it doesn't help when I'm logged in from a session where I don't have the luxury of a DEC compatible keypad/emulation readily accessible.&lt;BR /&gt;&lt;BR /&gt;I'm curious about this malicious code idea -- if someone's already compromised the system enough to be able to put something like that into play, you're probably in deep trouble.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 19 Dec 2005 13:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947612#M22398</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-12-19T13:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947613#M22399</link>
      <description>&amp;gt;Can you say some more about this idea &lt;BR /&gt;&amp;gt;of batch jobs (or is it reallly command&lt;BR /&gt;&amp;gt;procedures?) "scraping" the DCL buffer ? &lt;BR /&gt;&lt;BR /&gt;  It's command procedures...&lt;BR /&gt;&lt;BR /&gt;  File name syntax includes the optional "access control string" for network file specifications:&lt;BR /&gt;&lt;BR /&gt;  node"username password"::dev:[dir]file.typ&lt;BR /&gt;&lt;BR /&gt;So, suppose I type the command:&lt;BR /&gt;&lt;BR /&gt;$ TYPE REM"SYSTEM SECRET"::DKA0:[HOME]MYFILE.DAT&lt;BR /&gt;&lt;BR /&gt;to display a file on node REM, then sometime later I execute YOUR (trojan) command procedure "HANDY.COM"&lt;BR /&gt;&lt;BR /&gt;Now, your procedure could RECALL/OUT *MY* recall buffer, parse the contents, and discover the triplet of node name, username and password.&lt;BR /&gt;&lt;BR /&gt;For this and a few other reasons, the RECALL command is ignored from any command procedure. Think about it, what would a non-interactive RECALL command mean? Also, RECALL/IN could be used to plant trojan commands in the recall buffer of an unsuspecting user.&lt;BR /&gt;&lt;BR /&gt;From a suitably privileged process, using SDA, the recall buffer can be determined for any process, from any version of OpenVMS, (VAX or Alpha), the CLUE PROCESS just makes it easier from V7.3-2.&lt;BR /&gt;&lt;BR /&gt;Create a file:&lt;BR /&gt;$ CREATE RECALL.SDA&lt;BR /&gt;define prcbase = @(ctl$ag_clidata+ppd$q_clireg+4)&lt;BR /&gt;examine prcbase+prc_g_commands;400&lt;BR /&gt;examine prcbase+prc_l_recallptr&lt;BR /&gt;&lt;BR /&gt;SDA:&lt;BR /&gt;SDA&amp;gt; READ SYS$SYSTEM:DCLDEF&lt;BR /&gt;SDA&amp;gt; @RECALL.SDA&lt;BR /&gt;&lt;BR /&gt;(you'll have to work out where the commands start and stop yourself)</description>
      <pubDate>Mon, 19 Dec 2005 16:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947613#M22399</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-12-19T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947614#M22400</link>
      <description>Oops, forgot...&lt;BR /&gt;&lt;BR /&gt;From Alpha it's&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; READ SYS$LOADABLE_IMAGES:DCLDEF&lt;BR /&gt;&lt;BR /&gt;you will also have to increase the examine size from ";400"</description>
      <pubDate>Mon, 19 Dec 2005 16:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947614#M22400</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-12-19T16:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947615#M22401</link>
      <description>Oops, don't know what made me write batch job. I meant command file as John suggested. &lt;BR /&gt;Supposedly you could be tricked into using a longish non-transparent command file which normally say gives you a build environment, but on special days or times peaks into you command buffer for usefull usename/passwords. Like Robert writes I believe that you have bigger problems than allowing recall/out in a command file if you had such trap on the box.&lt;BR /&gt;And like Robert I have wished to be able to do a simple build-in recovery of my last session, oh what a thousand times, and I have use a command line with embedded password maybe 5 times.&lt;BR /&gt;Anyway, for the actual problem Zeni tries to solve it does not seem enough to stick this in a command file to be executed say at logout. I'd sooner opt for random samples with SDA or a privved tool made for the purpose, or good old auditing.&lt;BR /&gt;&lt;BR /&gt;I like Zeni observation that it needs not be perfect because he will be dealing with privved users anyway.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2005 17:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947615#M22401</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-12-19T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947616#M22402</link>
      <description>Zeni,&lt;BR /&gt;In the days when comp.os.vms still contained real gems of freeware, I got my hands on the sources of the RETRIEVE program by Jo Torsmyr from Norway.&lt;BR /&gt;Before the extension of RECALL beyond the last 20 commands, I used this utility instead. It behaves similar to the RECALL command as we know it today, and has also the possibility of storing/retrieving the commands in/from a file.&lt;BR /&gt;The last time I used &amp;amp; tested it was on VAX/VMS V5.4, so no guarantees.&lt;BR /&gt;Btw, you'll need a Pascal compiler to build this thing.&lt;BR /&gt;Good luck,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Tue, 20 Dec 2005 02:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947616#M22402</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-12-20T02:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947617#M22403</link>
      <description>I think that program will need some work due to DCL internal changes (EDCL project and more commands in the history).&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 05:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947617#M22403</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-12-20T05:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947618#M22404</link>
      <description>The original requirement appears to obtain a record of what a privileged user did.&lt;BR /&gt;&lt;BR /&gt;Parhaps using the LOGGER program or similar may be the best way forward. &lt;BR /&gt;&lt;BR /&gt;What is the reason for the record?</description>
      <pubDate>Tue, 20 Dec 2005 06:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947618#M22404</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-12-20T06:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947619#M22405</link>
      <description>Good discussion.  It will take me a bit to catch up with points but I will. &lt;BR /&gt; Reason for this effort is a security requirement.  The constraint is that it has to be applicable to multiple platforms.&lt;BR /&gt; A by-product that will probably be more useful than the original intent will be that we can go back and review when we encounter such moments as "What did I do that caused that?"  Usually encountered after reboots.&lt;BR /&gt;  What is requested sounds a lot like the complete monitoring done by a VaxCluster console software for the OPA0 port. Time, Money, and effort is not on our side for that.</description>
      <pubDate>Tue, 20 Dec 2005 08:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947619#M22405</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-20T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947620#M22406</link>
      <description>Zeni,&lt;BR /&gt;&lt;BR /&gt;If you did have money and time and effort available there are some excellent products available such as ConsoleWorks, or Console Manager.  I worked for about 9 years with Console Manager and I've also done some consulting on a pilot project for an installation of ConsoleWorks.&lt;BR /&gt;&lt;BR /&gt;A procedural solution that is very inexpensive is something that I often do when such a product is not available.  Especially for applying patches and some other major changes.  I use the SET HOST/LOG capability (or TELNET) to log an entire session where I log in to the SYSTEM account to make major changes before a reboot.  It does take some discipline to remember to do this, but it has helped in many cases to track down small but consequential errors.   &lt;BR /&gt;&lt;BR /&gt;Another tool I use is redirecting the output of the startup process very early in the startup by inserting a front end startup procedure that sets up the log file and passes control over to the normal startup.&lt;BR /&gt;&lt;BR /&gt;I'm attaching my current version of that startup procedure here.  I control the selection of it by inserting the following in SYS$SYSTEM:MODPARAMS.DAT:&lt;BR /&gt;&lt;BR /&gt;STARTUP = "SYS$SYSTEM:ALT_STARTUP.COM"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It's also possible to use PIPE or other mechanisms to build a T connection so that the output can go to the console and to a log file at the same time, but I haven't experimented with that.  I usually find that it's sufficient to capture it to a log file.&lt;BR /&gt;&lt;BR /&gt;I realize that the startup parameters allow you to have the startup procedure log most of the output to a file.  I prefer this mechanism to capture all of the output from the very beginning of the invocation of STARTUP.  I also like being able to control the name of the log file so that multiple boots log to files with different names.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Tue, 20 Dec 2005 10:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947620#M22406</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-12-20T10:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Recall Command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947621#M22407</link>
      <description>We do use Set Host/Log when doing Installations .  Very useful when doing repetive installs.&lt;BR /&gt;We use the Sysman method for startup and get the output in the standard startup.log.  For shutdowns, we have started capturing that output in the method you described.</description>
      <pubDate>Tue, 20 Dec 2005 10:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recall-command/m-p/4947621#M22407</guid>
      <dc:creator>Zeni B. Schleter</dc:creator>
      <dc:date>2005-12-20T10:33:32Z</dc:date>
    </item>
  </channel>
</rss>

