passwd encrypted in user file

Fajar A. Nugraha list at fajar.net
Fri Apr 20 16:39:19 CEST 2012


On Fri, Apr 20, 2012 at 9:27 PM, vazoumana fofana
<zoumlander at hotmail.com> wrote:
>> > I want to run a command wich crypt password. Wich command could i use ?
>> > My system is unix-like.
>>
>> See "radcrypt", which comes with the server.

> I use radcrypt

For completeness, you don't HAVE to use radcrypt. Any program that
properly create unix crypt will work. However radcrypt is convinient
since it comes with the server.

> but i note that for the same passwd , the encrypted passwd
> changes everytime. It it right ?

Yes.

> How does freeradius link passwd and encrypt-passwd if this last changes at
> each run ?

That's how crypt works. Read some reference for details, like
http://en.wikipedia.org/wiki/Crypt_(Unix) .

In particular, look for "salt". The salt can be any arbitrary or
random string (thus the same password can result in different hash if
the salt is different).

> To configure windows client, i use PEAP with mschap V2. Is it right ? I
> don't find other ways to connect windows client with login/passwd.

Short version: mschap doesn't work with crypt password.
Long version: please search the list archive :)

-- 
Fajar


More information about the Freeradius-Users mailing list