* Arnold Krille <[EMAIL PROTECTED]> [2003-03-29 00:32]: > PS: I am not using sudo. perhaps I should but there is only me at the > pc doing administrative tasks and root needs the > standard-environment-variables not the ones of a user...
This is what I do to overcome that problem: sudo /bin/su - -c "command" The quotes are necessary to protect spaces if you're passing arguments to a command, e.g.: sudo /bin/su - -c "/bin/rm -f FOO". -- [EMAIL PROTECTED] mailing list
