HP3000-L Archives

May 1996, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Michael D. Hensley
Date:
Wed, 15 May 1996 19:01:28 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On or about 14 May 1996 17:31:48 GMT, [log in to unmask](Eric
Durlin ) wrote:
 
 
>How can I hide or encrypt a prompted password when accessing a specific
>DTC port?
 
>My system defined UDC prompts for a password when a specific port is
>accessed.
 
Is this what you mean?
 
setvar save_hpautocont hpautocont
setvar hpautocont true
if (hpldevin=100 or hpldevin=101 or hpldevin=102)
   setvar modempass "wrong"
   set echo=off
   input modempass; prompt="Enter modem password: "; WAIT=15
   set echo=on
   if ups(modempass)<>"YOUR PASSWORD GOES HERE" then
      echo Gotcha!
      BYE
   else
      echo Good guess!
   endif
endif
setvar hpautocont save_hpautocont
deletevar modempass
deletevar save_hpautocont
 
 
Michael D. Hensley           | [log in to unmask] (personal)
Software Development Manager | [log in to unmask]     (business)
Lund Performance Solutions   | http://www.lund.com

ATOM RSS1 RSS2