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

Michael J. Hartwick (hartwick@primeline.net)
Wed, 28 Aug 1996 11:47:19 -0400 (EDT)

I saw a patch a while ago that used fgetpwent to read from a second
/etc/passwd type file. It works great. I don't think I have the patch
anymore, but may be able to make it again if required.

On Wed, 28 Aug 1996, Jon Lewis wrote:

>On Wed, 28 Aug 1996, John G. Thompson wrote:
>
>> There is a standard libc password function that can open a different
>> password file. My sunos 4.1.4 has setpwfile(3v).
>
>I don't seem to have that option on Linux. The closest looking thing I
>have is fgetpwent, which allows you to read passwd structures from an
>arbitrary open file.
>
>------------------------------------------------------------------
> Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
> Network Administrator | be proof-read for $199/hr.
>________Finger jlewis@inorganic5.fdt.net for PGP public key_______
>

----------------------------------------------------------------------------
Michael J. Hartwick, VE3SLQ
Hartwick Communications Consulting
hartwick@primeline.net