Freesco, NND, CDN, EOS
http://forum.freesco.pl/

MD5 i radius
http://forum.freesco.pl/viewtopic.php?f=27&t=11381
Strona 1 z 1

Autor:  xelus [ czwartek, 23 lutego 2006, 15:02 ]
Tytuł:  MD5 i radius

Witam.
Mam maly klopot z baza danych w radisuie. Jezeli w pliku user powpisuje sobie nazwe uzytkownika i haslo otwartym tekstem to dziala to jakos. Nie wiem natomiast jak ruszyc cos takiego - z pomocy radiusa:
: [/] [] ()
The Encrypted Password type allows to keep user's passwords encrypted via DES or MD5 algorithm. There are two ways of using this authentication type.

Specifying Passwords in users File.    
[color=green]user-name  Auth-Type = Crypt-Local,
                     User-Password = crypt-pass[/color]
The Crypt-Password is a shortcut for the above notation:    
[color=green]user-name  Crypt-Password = crypt-pass[/color]


Wie ktos jak ruszyc to haslo MD5 ? Jak je wygenerowac?
Pozdrawiam

Autor:  Koriolan [ czwartek, 23 lutego 2006, 17:31 ]
Tytuł: 

Z radiusem walczył Albercik, ale wynik jest mi nieznany..

Autor:  xelus [ czwartek, 23 lutego 2006, 18:11 ]
Tytuł: 

Cos mnie natknelo i wrzucilem haslo z pliku /etc/shadow
Radius wystartowal. Po googlowaniu znalazlem odpowiedni fragment kodu, ktory generuje haslo:
: [/] [] ()
echo -n 'haslo' | openssl passwd -1 -salt '12345678' -stdin -table

przy czym salt jest dowolne 8-o znakowe.

Dzieki za pomoc

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/