Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* WU FTPD and OSF/1 3.2 (w/ security enhancement)
@ 1995-06-29  4:00 Edward Murphy
  1995-06-30  4:00 ` Richard Rogers
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Murphy @ 1995-06-29  4:00 UTC (permalink / raw)



Below is a message I placed in the WU-FTPD mailing list. If anyone
from this group has any input to my problem, I'd appreciate any help:

Regards,
Ed

-----
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".
 
There was a post about a year ago which stated "Most ftp clients chop
it [password] at 8...". I am absolutely sure that the FTP client I'm
using does not do this since it works with the normal OSF/1 ftpd
(indeed if "most clients" did truncate passwords, I would be
shocked!).
 
The same post also included that there was no problem with the server
(wu-ftpd 2.4) truncating passwords (though there's no mention of what
type of security the system the poster was using and whether it
allowed password longer than 8 characters). This seems reasonable to
me and additionally I cannot find the code in the ftpd.c program where
the password would be truncated.
 
So, based on my assumptions, if the FTP client is not truncating the
password and the WU ftpd (2.4) is not truncating the password, what
the heck is causing the password length to prevent use of WU ftpd 2.4?
 
Any help appreciated. Are my assumptions incorrect?
 
Ed




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: WU FTPD and OSF/1 3.2 (w/ security enhancement)
  1995-06-29  4:00 WU FTPD and OSF/1 3.2 (w/ security enhancement) Edward Murphy
@ 1995-06-30  4:00 ` Richard Rogers
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Rogers @ 1995-06-30  4:00 UTC (permalink / raw)



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 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-06-30  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox