Using encrypted passwords in users file

Paul Bartell paul.bartell at gmail.com
Thu Sep 1 23:54:29 CEST 2011


that is the hashed password. You can change it by generating a hash of
your new password... you would probably use crypt(3) to do that... The
original password was never stored in cleartext form. You could store
a cleartext password if you really wanted to, but that is less than
secure.

On Thu, Sep 1, 2011 at 8:57 AM, sundoo <sandu_nastas at yahoo.com> wrote:
>
> Hello, I'm new to FreeRadius and to linux. Maybe this question will sound
> stupid, but I really need you help.
> I have a server running freeradius.
> These are some outputs of the configuration:
>
> *etc/freeradius/radiusd.conf*
> # passwd = /etc/passwd
>  shadow = /etc/shadow
> # group = /etc/group
>
>
> */etc/freeradius/users*
> test1 Auth-Type := Crypt-Local, User-Password :=
> "$1$NzW2iwkn$ygDcJgb4WhAEqQYfySFkj/"
>        Service-Type = Administrative-User,
>        Cajun-Service-Type := 3,
>
> */etc/shadow*
> test1:$1$cnEh49V6$Q.68mw.3P5rgmsfhbo/iC1:15217:0:99999:7:::
>
>
> I would like to change the password for the user test1. But in the users
> file I see only the encrypted password. Where is the original password
> stored ?
>
> How do I change it ?
>
> Thanks a lot for your help.
>
> --
> View this message in context: http://freeradius.1045715.n5.nabble.com/Using-encrypted-passwords-in-users-file-tp4758890p4758890.html
> Sent from the FreeRadius - User mailing list archive at Nabble.com.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



--
Random quote of the week/month/whenever i get to updating it: "Quis custodiet
ipsos custodes?": "who shall watch the watchers themselves?" - Juvenal




More information about the Freeradius-Users mailing list