in reply to Re^2: Script works when run with sudo, but not when run directly as root...?
in thread Script works when run with sudo, but not when run directly as root...?

My thought:

Check the environment variables of your account and of root created by the login shell.

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^3: Script works when run with sudo, but not when run directly as root...?