Subject: | |
From: | |
Reply To: | |
Date: | Mon, 24 Jan 2000 13:35:40 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Art Frank asked:
> Is it possible to set a password on the remote support modem (ldev 21)?
> If so, how?
There are several add-on security packages available, but for free you could
try some variety of the following UDC:
mylogonudc
option logon,nobreak,nohelp
if hpldevin=21 then
setvar myguess ""
set echo=off
input myguess; prompt="Enter dialup password: "; wait=60
set echo=on
if ups(myguess)<>"MYPASSWORD"
echo Sorry, bad guess!
bye
else
echo Welcome to !hpsysname!
endif
deletevar myguess
endif
*
First improvement: put it in a command file that your OPTION LOGON UDC
executes. This makes it easier to update.
Second improvement: add a loop, so the user has more than one chance to enter
the password (if you type as badly as I do).
Third improvement: change the prompt from "Enter dialup password:" to ":", so
the bad guys don't even know a password is required.
Note: make sure the UDC (or command) file are not readable! The users only
need execute access.
Have fun!
---
Michael D. Hensley | mailto:[log in to unmask]
Allegro Consultants Inc. | Visit scenic http://www.allegro.com
408/252-2330 | "Support Bill of Rights Enforcement"
|
|
|