Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Wrong password worked!



>>>>> "虚無" == 虚無 <kyomu@example.com> writes:

    虚無>         what i think is the problem is caused by having a
    虚無>	  passwd over 8 characters.

    虚無> passwd(1)

    虚無>        The user is then prompted for a replacement password.
    虚無>	  This password is tested for complexity.  As a general
    虚無>	  guideline, passwords should consist of 6 to 8 characters
    虚無>	  including one or more from each of following sets:


    虚無> crypt()

    虚無>         and i have looked at this for a bit but i think this is
    虚無>         due to how crypt() processes the passwd salt.


    虚無>         /* It stops at the first '$', max 8 chars */
    虚無>         for(ep=sp;*ep && *ep != '$' && ep < (sp+8);ep++)
    虚無>                 continue;


    虚無>         so anything past the 8th character is dropped.

    虚無>         but i dont think i really know what im talking about.


No, you do know what you're talking about.

BTW, thanks for posting the code; it makes what's happening absolutely 
clear.

We need more code on this list ;-)

IMAO of course ;-)

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for?  "Free software rules."
-------------------------------------------------------------------
Next Nomikai: 14 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
*** it will will be Jan 14 (Thu), as Jan 15 (Fri) is a natl holiday
Next Technical Meeting: 13 February, 12:30               Place: TBD
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links