[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl or libc6 bug?: getpwnam('root') in NIS environment



>>>>> "Heiko" == Heiko Schlittermann <heiko@datom.de> writes:
    Heiko> #! /usr/bin/perl
    Heiko> print (getpwnam('root'))[1], "\n";

    Heiko> returns the root encrypted password from the NIS-Servers /etc/shadow ...!!


    Heiko> /etc/nsswitch reads as:
    Heiko> passwd:         files nis #compat
    Heiko> group:          files nis #compat
    Heiko> shadow:         files nis #compat


    Heiko> And root is in /etc/{passwd,shadow} on the local host.


    Heiko> Can anybody explain this?

    Heiko> Package: perl
    Heiko> Version: 5.004.04-7

    Heiko> Package: libc6
    Heiko> Version: 2.0.7.19981211-6


    Heiko> Best Regards from Dresden/Germany
    Heiko> Viele Gruesse aus Dresden
    Heiko> Heiko Schlittermann
    Heiko> -- 
    Heiko> [internet & unix support ----------------- Heiko Schlittermann]
    Heiko> [<a href="http://debian.schlittermann.de/";> Debian 2.1 CD </a>]
    Heiko> [Heiko Schlittermann HS12-RIPE finger:heiko@schlittermann.de -]
    Heiko> [pgp: A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 -------]


    Heiko> -- 
    Heiko> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
    Heiko> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





-- 
Stephen
---
Long noun chains don't automatically imply security. - Bruce Schneier


Reply to: