From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,18de775429dd2d94,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,18de775429dd2d94,start X-Google-Attributes: gidfee84,public From: coop@europa.lif.icnet.uk (Richard Coop) Subject: crypt --> bigcrypt conversion Date: 1997/05/07 Message-ID: <5kq140$7be$1@charlie.lif.icnet.uk>#1/1 X-Deja-AN: 239974306 Organization: Imperial Cancer Research Fund Newsgroups: comp.unix.osf.osf1,comp.unix.programmer 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. Thanks in advance, Richard Coop Systems Unit Imperial Cancer Research Fund London, UK