<?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: Hide the typing password in shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663981#M638098</link>
    <description />
    <pubDate>Mon, 21 May 2012 14:54:15 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2012-05-21T14:54:15Z</dc:date>
    <item>
      <title>Hide the typing password in shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663249#M638096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my shell script, I am connecting to oracle database and executing some queries. For that i am prompting the password to the user. But I want to hide the typing content(password) due to security reason.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In bash , I can pass like "read -s password". But in my servers, bash kernal is not installed. Basic kernal only is there. How to solve this issue??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 06:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663249#M638096</guid>
      <dc:creator>sathish12345</dc:creator>
      <dc:date>2012-05-21T06:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the typing password in shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663349#M638097</link>
      <description>&lt;P&gt;Surprised google didn't find you this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;echo "enter password: \c"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;stty -echo&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;read pw&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;stty echo&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then the passowrd is stored in ${pw}&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 07:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663349#M638097</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2012-05-21T07:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the typing password in shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663981#M638098</link>
      <description />
      <pubDate>Mon, 21 May 2012 14:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hide-the-typing-password-in-shell-script/m-p/5663981#M638098</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2012-05-21T14:54:15Z</dc:date>
    </item>
  </channel>
</rss>

