<?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 Re: Change root password on VAX in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175314#M94573</link>
    <description>The instructions Hoff has in &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/204" target="_blank"&gt;http://labs.hoffmanlabs.com/node/204&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;are correct.  If that is what you followed, you can ignore the rest.&lt;BR /&gt;&lt;BR /&gt;The order of the set commands is significant, and the instructions given by Bob will not have the effect of preventing the changed parameters from being written back to the disk and being made permanent.&lt;BR /&gt;&lt;BR /&gt;Bob&amp;gt;&amp;gt;&amp;gt;The WRITESYSPARAMS to 0 avoids making the change to the startup file permanent&lt;BR /&gt;&lt;BR /&gt;This is true, but the set writesysparams 0 has to be the last command issued prior to the continue, as any changes made reset it to 1.  It is as if it always does an implicit set writesysparams 1 immediately before it sets the parameter given in the set command.  (I am not sure exactly how it is implemented, but the behavior can be explained by that description)&lt;BR /&gt;&lt;BR /&gt;It should be in this order:&lt;BR /&gt;&lt;BR /&gt;SYSBOOT&amp;gt; set /startup=opa0:&lt;BR /&gt;SYSBOOT&amp;gt; set writesysparams 0&lt;BR /&gt;SYSBOOT&amp;gt; continue&lt;BR /&gt;&lt;BR /&gt;Show commands have no effect, just set commands.&lt;BR /&gt;&lt;BR /&gt;Try the following:&lt;BR /&gt;&lt;BR /&gt;SYSBOOT&amp;gt; set writesysparams 0&lt;BR /&gt;SYSBOOT&amp;gt; set settime 0 ! or any other parameter&lt;BR /&gt;SYSBOOT&amp;gt; sho writesysparams ! note that it has now been changed back to 1&lt;BR /&gt;Parameter Name           Current    Default     Min.      Max.     Unit  Dynamic&lt;BR /&gt;--------------           -------    -------    -------   -------   ----  -------&lt;BR /&gt;WRITESYSPARAMS                  1          1         0          1 Boolean    D&lt;BR /&gt;&lt;BR /&gt;See attachment for a more complete example (where I was changing time back after doing some testing)&lt;BR /&gt;&lt;BR /&gt;I am also not sure why several people have recommended using something other than @SYS$SYSTEM:STARTUP after spawning.&lt;BR /&gt;&lt;BR /&gt;SYS$SYSTEM is already valid when you get to the SYSBOOT&amp;gt; prompt, so why complicate things with sysroots that may or may not be present?&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
    <pubDate>Fri, 15 May 2009 05:56:02 GMT</pubDate>
    <dc:creator>Jon Pinkley</dc:creator>
    <dc:date>2009-05-15T05:56:02Z</dc:date>
    <item>
      <title>Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175309#M94568</link>
      <description>I have forgot the password for my VAX superuser login. This user account is the only one having priv=all. The server has no CD drive. How to change the root password?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Amaresh</description>
      <pubDate>Thu, 14 May 2009 12:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175309#M94568</guid>
      <dc:creator>Swain</dc:creator>
      <dc:date>2009-05-14T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175310#M94569</link>
      <description>I assume you mean the account SYSTEM ??&lt;BR /&gt;Is SYSTEM the only account on this node with privileges ?? or the only account you are aware of.&lt;BR /&gt;&lt;BR /&gt;Hakan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 May 2009 12:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175310#M94569</guid>
      <dc:creator>Hakan Zanderau ( Anders</dc:creator>
      <dc:date>2009-05-14T12:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175311#M94570</link>
      <description>Here is the boot sequence to reset the SYSTEM password, which is the OpenVMS VAX analog of superuser and root and such. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/204" target="_blank"&gt;http://labs.hoffmanlabs.com/node/204&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is analogous to a typical single-user mode bootstrap.</description>
      <pubDate>Thu, 14 May 2009 13:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175311#M94570</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-05-14T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175312#M94571</link>
      <description>&lt;BR /&gt;Well, this has been a while ('97) but we'll give it a shot.&lt;BR /&gt;&lt;BR /&gt;boot the vax in conversational mode, if i remenber right set the low bit in r5.&lt;BR /&gt;&lt;BR /&gt;sysboot&amp;gt; set/startup _opa0:&lt;BR /&gt;sysboot&amp;gt; set startup_p1 "MIN"&lt;BR /&gt;sysboot&amp;gt; c&lt;BR /&gt;&lt;BR /&gt;when you see the $ prompt&lt;BR /&gt;$ spawn&lt;BR /&gt;$ spawn&lt;BR /&gt;$ @DRa0:[VMS$COMMON.sys$startup]VMS$INITIAL-050_VMS.COM&lt;BR /&gt;on the above line subsitute the correct device name for the system disk replacing DRA0&lt;BR /&gt;&lt;BR /&gt;$ set def sys$system&lt;BR /&gt;$ run authorize&lt;BR /&gt;uaf&amp;gt; mod system/pass=12345678&lt;BR /&gt;uaf&amp;gt; exit&lt;BR /&gt;$ @sys$system:shutdown &lt;BR /&gt;&lt;BR /&gt;.... and answer the prompts&lt;BR /&gt;&lt;BR /&gt;hope this helps....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 May 2009 13:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175312#M94571</guid>
      <dc:creator>Jim Hintze</dc:creator>
      <dc:date>2009-05-14T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175313#M94572</link>
      <description>Amaresh,&lt;BR /&gt;&lt;BR /&gt;As noted, the solution is to do a conversational boot, and then redirect the startup to OPA0:.&lt;BR /&gt;&lt;BR /&gt;At the SYSBOOT&amp;gt; prompt:&lt;BR /&gt;&lt;BR /&gt;SYSBOOT&amp;gt; set writesysparams 0&lt;BR /&gt;SYSBOOT&amp;gt; set /startup=opa:&lt;BR /&gt;SYSBOOT&amp;gt; continue&lt;BR /&gt;&lt;BR /&gt;(The manual suggests turning DECwindows off, but the DECwindows startup will not run before one gets control).&lt;BR /&gt;&lt;BR /&gt;When the "$" prompt comes up, my recommendation is:&lt;BR /&gt;&lt;BR /&gt;$ spawn&lt;BR /&gt;$ [sys0.syscommon.sysexe]startup&lt;BR /&gt;&lt;BR /&gt;When the next "$" appears, one has a running system, albeit the console is still on. I then recommend:&lt;BR /&gt;&lt;BR /&gt;$ set default sys$system&lt;BR /&gt;$ mcr authorize&lt;BR /&gt;AUTHORIZE&amp;gt; mod system/pass=&lt;NEW password=""&gt;&lt;BR /&gt;AUTHORIZE&amp;gt; ^Z&lt;BR /&gt;&lt;BR /&gt;The WRITESYSPARAMS to 0 avoids making the change to the startup file permanent.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;&lt;/NEW&gt;</description>
      <pubDate>Thu, 14 May 2009 13:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175313#M94572</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-05-14T13:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175314#M94573</link>
      <description>The instructions Hoff has in &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/204" target="_blank"&gt;http://labs.hoffmanlabs.com/node/204&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;are correct.  If that is what you followed, you can ignore the rest.&lt;BR /&gt;&lt;BR /&gt;The order of the set commands is significant, and the instructions given by Bob will not have the effect of preventing the changed parameters from being written back to the disk and being made permanent.&lt;BR /&gt;&lt;BR /&gt;Bob&amp;gt;&amp;gt;&amp;gt;The WRITESYSPARAMS to 0 avoids making the change to the startup file permanent&lt;BR /&gt;&lt;BR /&gt;This is true, but the set writesysparams 0 has to be the last command issued prior to the continue, as any changes made reset it to 1.  It is as if it always does an implicit set writesysparams 1 immediately before it sets the parameter given in the set command.  (I am not sure exactly how it is implemented, but the behavior can be explained by that description)&lt;BR /&gt;&lt;BR /&gt;It should be in this order:&lt;BR /&gt;&lt;BR /&gt;SYSBOOT&amp;gt; set /startup=opa0:&lt;BR /&gt;SYSBOOT&amp;gt; set writesysparams 0&lt;BR /&gt;SYSBOOT&amp;gt; continue&lt;BR /&gt;&lt;BR /&gt;Show commands have no effect, just set commands.&lt;BR /&gt;&lt;BR /&gt;Try the following:&lt;BR /&gt;&lt;BR /&gt;SYSBOOT&amp;gt; set writesysparams 0&lt;BR /&gt;SYSBOOT&amp;gt; set settime 0 ! or any other parameter&lt;BR /&gt;SYSBOOT&amp;gt; sho writesysparams ! note that it has now been changed back to 1&lt;BR /&gt;Parameter Name           Current    Default     Min.      Max.     Unit  Dynamic&lt;BR /&gt;--------------           -------    -------    -------   -------   ----  -------&lt;BR /&gt;WRITESYSPARAMS                  1          1         0          1 Boolean    D&lt;BR /&gt;&lt;BR /&gt;See attachment for a more complete example (where I was changing time back after doing some testing)&lt;BR /&gt;&lt;BR /&gt;I am also not sure why several people have recommended using something other than @SYS$SYSTEM:STARTUP after spawning.&lt;BR /&gt;&lt;BR /&gt;SYS$SYSTEM is already valid when you get to the SYSBOOT&amp;gt; prompt, so why complicate things with sysroots that may or may not be present?&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Fri, 15 May 2009 05:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175314#M94573</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-05-15T05:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175315#M94574</link>
      <description>Jon,&lt;BR /&gt;&lt;BR /&gt;Thank you for the correction to my typographical error.&lt;BR /&gt;&lt;BR /&gt;You are correct, and I apologize for any confusion caused by the error.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Fri, 15 May 2009 08:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175315#M94574</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-05-15T08:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175316#M94575</link>
      <description>&amp;gt;When the next "$" appears, one has a running system, albeit the console is still on. I then recommend:&lt;BR /&gt;&lt;BR /&gt;Try the "previous" sequence on a recent OpenVMS Alpha V8.3 workstation box or similar.   What happens there is why I've added a DEFINE step to the sequence posted at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/204" target="_blank"&gt;http://labs.hoffmanlabs.com/node/204&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In at least some recent releases and configurations, you have to explicitly stop DECwindows from starting.  Or it starts.&lt;BR /&gt;&lt;BR /&gt;Now there's the whole question of why SYSBOOT doesn't have a "please change the SYSTEM password" knob and (while we're at it) a "please allow me to register some replacement license PAKs" knob, and entirely avoid the whole need for increasingly arcane DCL incantations, but that's fodder for another discussion.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 May 2009 12:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175316#M94575</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-05-15T12:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change root password on VAX</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175317#M94576</link>
      <description>the suggested solutions worked.&lt;BR /&gt;Thanks a lot&lt;BR /&gt;&lt;BR /&gt;Amaresh</description>
      <pubDate>Fri, 15 May 2009 13:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/change-root-password-on-vax/m-p/5175317#M94576</guid>
      <dc:creator>Swain</dc:creator>
      <dc:date>2009-05-15T13:14:21Z</dc:date>
    </item>
  </channel>
</rss>

