Re: perl or libc6 bug?: getpwnam('root') in NIS environment
In article <cistron.19990415093623.V31210@eremit.is.datom.de>,
Heiko Schlittermann <heiko@datom.de> wrote:
>Mangling enabled: ordinary users get `x' for ypmatch root shadow.byname
>Mangling disabled: ordinary users get 'LKDFdfaev.4' for ypmatch root shadow.byname
Hmm, did you upgrade the /var/yp/Makefile lately? The shadow.byname map
should be built with the argument "-s" to the makedbm [ $(DBLOAD) ]
command. That sets a special bit in the map that tells the NIS server
that this is a priviliged map and should not be served to unprivilged
requests.
Ofcourse the Makefile included with earlier version of the nis package
didn't include this. And since /var/yp/Makefile is a conffile, you
might have an older version (with local mods) installed.
Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?
Reply to: