Re: perl or libc6 bug?: getpwnam('root') in NIS environment
>>>>> "Heiko" == Heiko Schlittermann <firstname.lastname@example.org> writes:
Heiko> Hi, I'm just trying to write an short prototype for an
Heiko> external authenticator for squid and discovered the
Heiko> #! /usr/bin/perl print (getpwnam('root')), "\n";
Heiko> returns the root encrypted password from the NIS-Servers
Heiko> /etc/shadow ...!!
Are you not running this as root? What exactly do you mean by
"the NIS server's /etc/shadow"? I wasn't aware that there was a
way of doing shadow over NIS.
Alternatively, do a 'ypmatch root passwd' and see if you get the
Brought to you by the letters P and E and the number 2.
"You forgot Uranus." "Goooooooooodnight everybody!"
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.