in reply to perl script to run as non-root
Hint from Dr. Wisenheimer:
Writing everything on one line results in negative XPs!
Compare:
Thanks for your replies, The only difference I find is when I run this command as "root' I get the below output:
perl -e 'print join("\n",@INC)' /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
While I run as non-root I get the below output:
perl -e 'print join("\n",@INC)' /opt/nms/perl/lib /opt/nms/perl/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /opt/nms/perl/lib/perl5/site_perl/5.8.8 /opt/nms/perl/lib/perl5/site_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
Actually there is no perl folder inside the /opt/nms/ but not sure how it is showing that. Will that be an issue? But apart from that I checked the permission of Sybase.pm and the path where the Sybase.pm is all seems to be fine. Thanks.
See also Writeup Formatting Tips.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl script to run as non-root
by dbashyam (Novice) on Oct 19, 2014 at 04:07 UTC | |
by dbashyam (Novice) on Oct 19, 2014 at 08:52 UTC | |
by karlgoethebier (Abbot) on Oct 19, 2014 at 16:47 UTC |