Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Steve VanDevender <stevev@hexadecimal.uoregon.edu>
Subject: Re: crypt --> bigcrypt conversion
Date: 1997/05/09	[thread overview]
Message-ID: <x7pvv0ns3f.fsf@hexadecimal.uoregon.edu> (raw)
In-Reply-To: 5kq140$7be$1@charlie.lif.icnet.uk


coop@europa.lif.icnet.uk (Richard Coop) writes:

  We are about to upgrade to Enhanced security on our AXP OSF3.0 machine
  but have hit upon a technical issue. I wonder if anyone else has 
  experienced this?
  
  OSF3.0 without enhanced security uses the 'crypt' function call on
  the first 8 characters of a password only to produce a 13 character
  encrypted password. Passwords longer than 8 characters have these extra
  characters ignored before being encryped.
  
  Moving to enhanced security poses no problem for existing passwords upto
  8 characters. Enhanced security uses 'bigcrypt' which can hadle passwords
  longer than 8 characters, yielding an encrypted password of 24 or so chars.
  The problem comes with passwords that were longer than 8 characters prior
  to moving to Enhanced Security. You are comparing a fully encryped password 
  with an encrypted truncated password and they no not tally.
  
  What we would like to do is perform authentication using the old 'crypt'
  algothithm the first time a user logs in after the upgrade but subsequent
  authorisations and password changes be made using the longer 'bigcrypt'
  algorithm. This would allow users with long password in without forcing
  them to type only the first 8 and allows us to broadcast a motd informing
  these users to reset their password upon login. 
  
  The man page for prpwd talks about u_oldpasswd etc but this appears to have 
  no affect.

Under Digital UNIX 4.0, there are "u_oldcrypt" and "u_newcrypt" fields.
u_oldcrypt selects the encryption method to use for the user's
currently-stored password; u_newcrypt specifies the algorithm to be used
to encrypt the new password when the user's password is next changed.
If you find that these also exist in 3.0/3.2, I believe you should be
able to get what you want by changing the default profile (or, at worst,
all the individual user profiles) to specify plain crypt() for the
oldcrypt method, bigcrypt() for the newcrypt method, and to expire all
currently-existing passwords so that users will have to change them on
their next login after that.

-- 
Steve VanDevender  "I ride the big iron"  stevev@efn.org
stevev@hexadecimal.uoregon.edu   http://jcomm.uoregon.edu/~stevev
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH



  parent reply	other threads:[~1997-05-09  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-07  4:00 crypt --> bigcrypt conversion Richard Coop
1997-05-08  4:00 ` Saul Tannenbaum
1997-05-08  4:00   ` Christopher Michael Cooney
1997-05-09  4:00     ` Saul Tannenbaum
1997-05-09  4:00 ` Steve VanDevender [this message]
1997-05-19  4:00   ` Saul Tannenbaum
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox