* crypt --> bigcrypt conversion
@ 1997-05-07 4:00 Richard Coop
1997-05-08 4:00 ` Saul Tannenbaum
1997-05-09 4:00 ` Steve VanDevender
0 siblings, 2 replies; 6+ messages in thread
From: Richard Coop @ 1997-05-07 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: crypt --> bigcrypt conversion
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 ` Steve VanDevender
1 sibling, 1 reply; 6+ messages in thread
From: Saul Tannenbaum @ 1997-05-08 4:00 UTC (permalink / raw)
In comp.unix.osf.osf1 Richard Coop <coop@europa.lif.icnet.uk> wrote:
> 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?
[...]
> 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.
We are facing the same dilemma. Are there really no workarounds to
this?
- Saul
--
Saul Tannenbaum, Manager, Academic Systems |"Every year, I get more and more
stannenb@emerald.tufts.edu | cynical, but somehow I just can't
Tufts University Computing and | keep up." - Lilly Tomlin
Communications Services |
Finger for PGP Public Key |http://www.tufts.edu/~stannenb
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: crypt --> bigcrypt conversion
1997-05-08 4:00 ` Saul Tannenbaum
@ 1997-05-08 4:00 ` Christopher Michael Cooney
1997-05-09 4:00 ` Saul Tannenbaum
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Michael Cooney @ 1997-05-08 4:00 UTC (permalink / raw)
Saul Tannenbaum (stannenb@emerald.tufts.edu) wrote:
: > them to type only the first 8 and allows us to broadcast a motd informing
: > these users to reset their password upon login.
:
: We are facing the same dilemma. Are there really no workarounds to
: this?
:
: - Saul
it's a bit of a kludge, but you could advise people of the 8 character limit
and tell them to only use the first 8 characters of their password until they
change it (and expire their password so they have to). this kind of behavior
is a bit of a security risk, so use judegment.
--
coonec@rpi.edu Comp. Science, Blah Blah Sparc MIPS Blah
"Watch me not care" dilbert 19960219 |
Do not meddle in the affairs of Wizards, | Do not watch
For you are crunchy and good with ketchup. | this space
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: crypt --> bigcrypt conversion
1997-05-08 4:00 ` Christopher Michael Cooney
@ 1997-05-09 4:00 ` Saul Tannenbaum
0 siblings, 0 replies; 6+ messages in thread
From: Saul Tannenbaum @ 1997-05-09 4:00 UTC (permalink / raw)
In comp.unix.osf.osf1 Christopher Michael Cooney <coonec@rpi.edu> wrote:
> Saul Tannenbaum (stannenb@emerald.tufts.edu) wrote:
> : > them to type only the first 8 and allows us to broadcast a motd informing
> : > these users to reset their password upon login.
> :
> : We are facing the same dilemma. Are there really no workarounds to
> : this?
> :
> : - Saul
> it's a bit of a kludge, but you could advise people of the 8 character limit
> and tell them to only use the first 8 characters of their password until they
> change it (and expire their password so they have to). this kind of behavior
> is a bit of a security risk, so use judegment.
That's exactly what I'm trying to avoid, not for the security reasons,
but because it's impossible to effectively tell 8,000 people anything
like this and make it stick. A thousand calls to the Help Desk the morning
after turning on C2 security is _not_ an acceptable outcome.
- Saul
--
Saul Tannenbaum, Manager, Academic Systems |"Every year, I get more and more
stannenb@emerald.tufts.edu | cynical, but somehow I just can't
Tufts University Computing and | keep up." - Lilly Tomlin
Communications Services |
Finger for PGP Public Key |http://www.tufts.edu/~stannenb
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: crypt --> bigcrypt conversion
1997-05-07 4:00 crypt --> bigcrypt conversion Richard Coop
1997-05-08 4:00 ` Saul Tannenbaum
@ 1997-05-09 4:00 ` Steve VanDevender
1997-05-19 4:00 ` Saul Tannenbaum
1 sibling, 1 reply; 6+ messages in thread
From: Steve VanDevender @ 1997-05-09 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: crypt --> bigcrypt conversion
1997-05-09 4:00 ` Steve VanDevender
@ 1997-05-19 4:00 ` Saul Tannenbaum
0 siblings, 0 replies; 6+ messages in thread
From: Saul Tannenbaum @ 1997-05-19 4:00 UTC (permalink / raw)
In comp.unix.osf.osf1 Steve VanDevender <stevev@hexadecimal.uoregon.edu> wrote:
> 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.
>
[...]
> 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.
According to our tests, this does, in fact, work on 4.0b.
It appears not to for 3.2, as the appropriate crypt functions are there.
Thanks for the pointer.
- Saul
--
Saul Tannenbaum, Manager, Academic Systems |"Every year, I get more and more
stannenb@emerald.tufts.edu | cynical, but somehow I just can't
Tufts University Computing and | keep up." - Lilly Tomlin
Communications Services |
Finger for PGP Public Key |http://www.tufts.edu/~stannenb
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-05-19 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1997-05-19 4:00 ` Saul Tannenbaum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox