<?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 Inquire password in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5553945#M36716</link>
    <description>&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a DCL which inquire user name and password and I would like to show on the screen "*" or nothing instead the written password. Regretfully I have not found a way to do that despite I suppose it should not be difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you, please, help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2012 10:23:54 GMT</pubDate>
    <dc:creator>Yyrkoon_</dc:creator>
    <dc:date>2012-02-16T10:23:54Z</dc:date>
    <item>
      <title>Inquire password</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5553945#M36716</link>
      <description>&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make a DCL which inquire user name and password and I would like to show on the screen "*" or nothing instead the written password. Regretfully I have not found a way to do that despite I suppose it should not be difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you, please, help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 10:23:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5553945#M36716</guid>
      <dc:creator>Yyrkoon_</dc:creator>
      <dc:date>2012-02-16T10:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inquire password</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5553971#M36717</link>
      <description>&lt;P&gt;Use SET TERMINAL/NOECHO to prevent echoing the user input on the passowrd question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 10:39:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5553971#M36717</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2012-02-16T10:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inquire password</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554005#M36718</link>
      <description>&lt;P&gt;I knew it should be easy.&lt;/P&gt;&lt;P&gt;It does work perfect.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 11:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554005#M36718</guid>
      <dc:creator>Yyrkoon_</dc:creator>
      <dc:date>2012-02-16T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inquire password</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554371#M36719</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; If you haven't done it already, then you might wish to look at some&lt;BR /&gt;error handling ("ON ERROR" and/or "ON CONTROL_Y" -- See "HELP ON") to go&lt;BR /&gt;with that "SET TERMINAL [...]" action.&amp;nbsp; A carefree program combined with&lt;BR /&gt;a careless user can leave the user's terminal in a confusing state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; I knew it should be easy.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Everything's complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; It does work perfect.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Define "perfect".&amp;nbsp; You tried Ctrl/Y at your "password:" prompt?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 15:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554371#M36719</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2012-02-16T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inquire password</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554847#M36720</link>
      <description>&lt;P&gt;Unfortunately this isn't easy from DCL. You need to deal with saving and restoring the terminal state and unexpected stuff in the typeahead buffer. The safest way is to write a program to do it. The attachment is a small MACRO32 program which will prompt SYS$COMMAND for a password with no echo or typeahead, and it's timed out after 20 seconds. The password text is returned as a local symbol "PASSWORD" and any errors in $STATUS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rename the file to GETPASSWORD.MAR then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ MACRO GETPASSWORD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ LINK GETPASSWORD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ RUN GETPASSWORD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;Password: &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ SHOW SYMBOL PASSWORD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;&amp;nbsp; PASSWORD = "secret"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2012 22:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/inquire-password/m-p/5554847#M36720</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2012-02-16T22:05:08Z</dc:date>
    </item>
  </channel>
</rss>

