From: cstrmr@staffs.ac.uk (Richard Rogers)
Subject: Re: WU FTPD and OSF/1 3.2 (w/ security enhancement)
Date: 1995/06/30 [thread overview]
Message-ID: <3t0at8$tte@bs33d.staffs.ac.uk> (raw)
In-Reply-To: 3sv0q5$mon@www.uno.edu
In article <3sv0q5$mon@www.uno.edu>, emurphy@www.uno.edu (Edward Murphy) writes:
>What is the cause of the 8 character limit on passwords?
>
>Recap: I've just installed wu-ftpd 2.4 on our DEC Alpha OSF/1 3.2
>system with C2 security enhancements. The max password length is 10.
>Users who have passwords of length greater than 8 cannot use the WU
>ftpd programs, they get "Login incorrect".
[other detail deleted]
The problem lies with the password encryption call, crypt().
It only hashes the first eight characters of the supplied password,
producing the familiar 13-character string that is seen in /etc/passwd.
For C2 security, when longer passwords are permitted (as in your case),
the encryption routine must be repeatedly called with successive
segments of the password to produce a longer encrypted string.
DON'T PANIC: all of this is achieved using the (undocumented) call
bigcrypt(). Use it in exactly the same way as crypt() is used and
your "long" passwords will be checked correctly.
Richard
--
===========================================================================
Richard M Rogers E-mail: cstrmr@staffs.ac.uk
Computing Services OR R.M.Rogers@staffs.ac.uk
Staffordshire University Tel: 01785 (+44 1785) 353396
prev parent reply other threads:[~1995-06-30 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-29 4:00 WU FTPD and OSF/1 3.2 (w/ security enhancement) Edward Murphy
1995-06-30 4:00 ` Richard Rogers [this message]
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