Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (ASCEND) alternative to /etc/passwd
On 1998-07-21T00:47:40,
"R. Marc" <rmarc@dimension.net> said:
> 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.
This is plain wrong. At least on Linux and all other glibc based systems
(and the systems where glibc borrowed this code from;), nsswitch.conf can be
used to redirect the entire list of name services (DNS, getpwnam etc) to
other modules.
Though: If you manage to find good documentation on how to actually
IMPLEMENT this feel free to share ;-) (The glibc code is a mess imho)
--
Lars Marowsky-Brée :homepage email: \ geek, BOFH, psychopath, magician, /
http://teuto.net/~lmb/ lmb@teuto.net \ killer, looney, genius, pervert /
pgp-key-id: 0x09e360c5 / ff 2a 82 e8 6b 85 79 23 9c da b5 81 d4 fc 29 e6
++ 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: