Re: 2 unix hosts hold user info? (fwd)

John G. Thompson (jgt10@livingston.com)
Wed, 28 Aug 1996 08:06:32 -0700 (PDT)

On Tue, 27 Aug 1996, Jon Lewis wrote:
> On Tue, 27 Aug 1996, John G. Thompson wrote:
>
> > 4. Hack the radius code on the secondary to use a copy of the passwd/
> > shadow password file instead of the second systems password file and
> > set up a cron job to copy the users file and the password files from the
> > primary to the secondary.
>
> I just did this to create radiusd2. I have it read passwds from
> /etc/raddb/shadow. I didn't see any equally simple way to have it read
> /etc/raddb/passwd and /etc/raddb/group though. What's the trick for
> those using standard libc passwd/group functions?

There is a standard libc password function that can open a different
password file. My sunos 4.1.4 has setpwfile(3v).

JGT

--
John G. Thompson      Livingston Enterprises Inc.    Phone: (800) 458-9966
JOAT(MON)             6920-220 Koll Centre Pkwy.       Fax: (510) 426-8951
support@livingston.com Pleasanton, CA 94566      http://www.livingston.com