Dear Matthew Koch,

see  radiusd.conf  -  you can configure rlm_unix with location of passwd
and  shadow  (master.passwd) files. In order to access master.passwd you
should run radiusd as root.

You  can  also use rlm_passwd to use any passwd-like file of any format.
For example in modules{} :

passwd masterpasswd {
 filename = /etc/master.passwd
 authtype = Local
 hashsize = 100
 format = "*User-Name:Crypt-Password:::::::"
}

authorize {

...
 masterpasswd
}

BTW: I wonder who removed rlm_passwd examples from modules...


--Saturday, March 23, 2002, 9:38:19 PM, you wrote to [EMAIL PROTECTED]:

MK> I seem to be having problems with FreeBSD 4.4 and FreeRADIUS 0.5. The compile 
problems are fixed (yay, thanks), but not when I try to use SYSTEM authentication, 
FreeRADIUS doesn't seem to be
MK> smart enough to handle the fact that passwords are stored in master.passwd and not 
/etc/passwd or /etc/shadow. Then again, I may not be smart enough to have it 
configured correctly. 

MK> I hacked up src/modules/rlm_unix/rlm_unix.c at line 589 to be:

MK> radlog(L_AUTH, "rlm_unix: [%s - %s - %s]: invalid password", name, encrypted_pass, 
encpw);

MK> In the output I now get:

MK> rlm_unix: [walters - * - **fbOYXfEV4Lg]: invalid password

MK> Which says to me radius is reading the * in /etc/passwd and checking against that. 
Funky eh? Am I missing something or does someone just need to add the correct checks 
for FreeBSD?

MK> Matthew Koch
MK> System Administrator
MK> Geneva On-Line Inc.




MK> - 
MK> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-- 
~/ZARAZA
������� ��� �����... � ��������� ���� ������ ����� ���� ���������. (�����������)


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to