Hi Alan,

FreeBSD's /etc/master.passwd file always has a comment at the top starting with a # which means ignore the line.

Regards
--jm

On 17 Feb 2009, at 8:52 PM, Alan DeKok wrote:

ipfreak wrote:
i would like to use unix file /etc/passwd to authenticate users on my
routers and somehow it always fails:

Because you broke the "passwd" file.

rad_recv: Access-Request packet from host 192.168.10.101:61706, id=153,
length=53
    User-Name = "tester"
    User-Password = "test"
    NAS-Identifier = "lab_1"
    NAS-IP-Address = 192.168.6.1
rlm_pap: WARNING! No "known good" password found for the user.
Authentication may fail because of this.
rlm_unix:  GID too long in line: # $FreeBSD: src/etc/master.passwd,v
1.40.18.1 2008/11/25 02:59:29 kensmith Exp $

Wow... the "passwd" file does *not* allow comments.  Whatever prompted
you to add them?

And that message should be pretty clear to anyone prepared to read it.

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

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

Reply via email to