HP OpenVMS Systems

ask the wizard
Content starts here

Install Failing a Valid Password?

» close window

The Question is:

 
You have a problem !!
 
when installing OpenVMS & kits (particularly 7.2-1h1), when it gets to creating
 a password, it asks for e.g. system password, If you get it wrong more than
 once, it will then loop around on the password prompt forever saying it
 requires a password of only
 the suggested valid characters ! you cannot get past this...
I have had to init the System to try to go past this.. Just shutting down and
 rerunning install did not work !.
 
Why does it do this ???
 
I am working on a remote console connection on an ES40 with internal 9Gb Scsi
 disk.
I shall try it on a direct console connection.
 
Example of problem..:-
 
*-----------------*
    You must enter a password for the SYSTEM account.
 
    The password must be a minimum of 8 characters in length,
    and may not exceed 31 characters.
    It will be checked and verified.
    The system will not accept passwords that can be guessed easily.
 
    The password will not be displayed as you enter it.
 
Password for SYSTEM account:
 
 
    Password may contain only A-Z, 0-9, $ and _ characters!
 
Password for SYSTEM account:
 
 
    Password must be at least 8 characters in length!
 
Password for SYSTEM account:
 *-------------*
 
 
 


The Answer is :

 
  This prompt will loop until a valid password is entered.
 
  As some of the relevent information was omitted -- specifically, the
  exact failing password that was attempted -- the OpenVMS Wizard cannot
  test the OpenVMS code against the specific (failing) password.
 
  The OpenVMS Wizard has reviewed the DCL code involved, and has not
  found any obvious problems with it.  (See attached.)
 
  That said, it is also possible that a country-specific keyboard may be
  involved here, and that keyboard is misconfigured or is otherwise not
  sending the expected ASCII character(s) when this prompting occurs.
 
 
 
$080_set_pass:
$!
$!  Get a password for the SYSTEM account
$!
$   msgdisp_verify
$   saylong "entersyspass"
$   install_verify
$   sayblank
$!
$080_read_pass:
$!
$!  note: need to write extra blank lines when /NOECHO
$!
$   sayblank
$   set term sys$output /noecho     ! Don't display the password
$   read /error=080_read_pass sys$output pwd -
            /prompt = "''passforsys'"
$   set term sys$output /echo
$   sayblank
$   pwd = f$edit(pwd,"COLLAPSE,UPCASE")
$   if pwd .eqs. helpvalue then goto 080_set_pass
$   if pwd .eqs. backvalue then goto 060_target     ! reenter target disk
$!
$!  check for a minimum length of eight characters.
$!
$   pwd_ln = f$length(pwd)
$   if pwd_ln .lt. 8
$   then
$       say "''passless8'"
$       goto 080_read_pass
$   endif
$!
$!  check for a maximum length of 31 characters.
$!
$   if pwd_ln .gt. 31
$   then
$       say "''passmore31'"
$       goto 080_read_pass
$   endif
$!
$!  Check for A-Z, 0-9, "$" and "_"
$!  (Upper and Lower case A-Z and a-z are equivalent.)
$!
$   val_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789$_"
$   num_chars = f$length(val_chars)
$   chr_no = 0
$!
$080_chk_chr:
$!
$   if f$locate(f$extract(chr_no,1,pwd),val_chars) .ge. num_chars
$   then
$       say "''passinvchr'"
$       goto 080_read_pass
$   endif
$   chr_no = chr_no + 1
$   if chr_no .lt. pwd_ln then goto 080_chk_chr
$!
$080_ver_pass:
 

answer written or last revised on ( 6-JUN-2001 )

» close window