Real Time Ascend Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Radius and unix password files



Colin M Shaw <sys057@abdn.ac.uk> wrote:
>We are running the free Ascend radius on a UNIX server. We want to
>point radius at a UNIX password file by just having a default user
>with the password UNIX. The problem is that we have a separate password
>file for our dialup users - something other than /etc/passwd.
>Has anyone successfully altered radiusd.c so that it doesn't use 
>getpwnam and somehow gets passwords from a password file other than 
>/etc/passwd?

I used SunOS's handy setpwfile() function to set the password file to
"/etc/passwd.radius" immediately before the getpwnam() call.  If your
version of Unix doesn't have setpwfile() or equivalent, I imagine you'd
have to use fgetpwent() to scan your password file for the appropriate
user.

Stephen
++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>