passwd encrypted in user file

Alan DeKok aland at deployingradius.com
Fri Apr 20 15:47:28 CEST 2012


vazoumana fofana wrote:
> i want to use encrypted passwd in "users" file without using unix files.
> So, i have to write :
> 
> username Crypt-Password := "$1$5oVGRb3C$PCKT5Fv7d81NZTmzEm83e0".
> 
> How does Freeradius link the encrypted  password with password ?

  The PAP module does this.  It sees the Crypt-Password as one of the
formats supported for "known good" passwords.  It then uses
User-Password from the packet, and compares the two.

> 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.

> Then, i want to store this encrypted password in "users" file ?

  Yes.

> i look
> to man  rlm_pap and i set yes to auto_header.

  You don't need to set that.  Leave it as the default.

  Alan DeKok.


More information about the Freeradius-Users mailing list