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.