|Subject:||Net::Domain cause failure of "sysytem" calls, while running as non root user|
Hi Dear all! Platform - RH 5.2(i386) Perl version - 5.8.7 and 5.8.4 ( I have tried 2 distributions... One (5.8.7 installed on machine with RH OS installation, and second - 5.8.4 I have installed in user's local directory) Module - Net::Domain In few words - "use" of Net::Domain module cause "system" function call to fail (with any command) Let us say code: use strict; use Net::Domain; my $rc=system("/bin/ls"); print rc, "\n"; prints - 13 Of cause - if I run from command line /bin/ls - it works... More interesting! If I run same script as root user - it works properly! But, only if I run it as root... If I run it as any other user - it prints "13" If I comment out use Net::Domain; - everything works with any user ... I am totally lost! Do any one have an idea - what can be a reason for such strange mess???