Neminath has asked for the
wisdom of the Perl Monks concerning the following question:
I have trouble in executing command.
The command requires root privileges. on my ubuntu box i need to use sudo command which ask for a password which makes my script interactive; which i don't want. Is there any way to avoid it.
Any idea something like if i invoke my script with root privileges those privileges are inherited to commands in the script which avoids prompting of password each time.
Ubuntu does not allow to login as root.
so privileged commands has to be prefixed with sudo.