Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (ASCEND) alternative to /etc/passwd
On Tue, 21 Jul 1998, R. Marc wrote:
>
> I looked through the code and it (livingston/Ascend radius) and it uses
> getpwnam which on Linux/BSD/Solaris at least is hardcoded to /etc/passwd
> (unless there is some header file somewhere I don't know about).
>
> You could write your own version of getpwnam to take a second character
> string of a password file location and then replace getpwnam in the
> source code.
>
> nsswitch.conf is for NIS/NIS+ which I don't think would do what you are
> trying to do here.
>
Actually I am working on a nss library for linux glibc that will query an
sql database instead of the password file. nsswitch.conf can be used for
more than nis. With linux you could also write a PAM module that would
query something besides /etc/passwd.
-James
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
Follow-Ups:
References: