<?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 Hiding characters entered in script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845044#M773722</link>
    <description>I am writing a script which accepts a username and password to be used for connected to a third party app. I do not want the password to be displayed as it is typed.&lt;BR /&gt;I don't mind if each char is displayed as an asterix or just as blank.</description>
    <pubDate>Wed, 20 Feb 2002 18:55:16 GMT</pubDate>
    <dc:creator>Pierce Byrne_1</dc:creator>
    <dc:date>2002-02-20T18:55:16Z</dc:date>
    <item>
      <title>Hiding characters entered in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845044#M773722</link>
      <description>I am writing a script which accepts a username and password to be used for connected to a third party app. I do not want the password to be displayed as it is typed.&lt;BR /&gt;I don't mind if each char is displayed as an asterix or just as blank.</description>
      <pubDate>Wed, 20 Feb 2002 18:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845044#M773722</guid>
      <dc:creator>Pierce Byrne_1</dc:creator>
      <dc:date>2002-02-20T18:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding characters entered in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845045#M773723</link>
      <description>HI:&lt;BR /&gt;&lt;BR /&gt;I answered this same question just a few days ago.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh &lt;BR /&gt;&lt;BR /&gt;trap 'stty echo; exit' 0 1 2 3 15 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "Enter Password: \c" &lt;BR /&gt;stty -echo &lt;BR /&gt;read PASSWD &lt;BR /&gt;stty echo &lt;BR /&gt;&lt;BR /&gt;The trap is very important in case you kill this process or hit Ctrl-C; it returns the terminal to an echo state.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Clay &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Feb 2002 18:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845045#M773723</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-20T18:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding characters entered in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845046#M773724</link>
      <description>Ta. That's spot on.</description>
      <pubDate>Wed, 20 Feb 2002 19:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845046#M773724</guid>
      <dc:creator>Pierce Byrne_1</dc:creator>
      <dc:date>2002-02-20T19:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding characters entered in script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845047#M773725</link>
      <description>as detailed</description>
      <pubDate>Thu, 05 Oct 2006 07:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hiding-characters-entered-in-script/m-p/4845047#M773725</guid>
      <dc:creator>Pierce Byrne_1</dc:creator>
      <dc:date>2006-10-05T07:09:41Z</dc:date>
    </item>
  </channel>
</rss>

