executesudounix
SHELLCOMMAND
,
PASSWORD
,
RESULT
,
TIMEOUT

The executesudounix statement executes a UNIX shell command using sudo (root) privileges.


Parameters

This statement has four parameters:

shellcommand – Exact text of shell command.

password – Password (if empty then will prompt for password).

result – Output of shell command.

timeout – Timeout in seconds (default is 60 if not supplied).


Description

This statement executes a UNIX shell command using SUDO (root) privileges.

executeunix {chown myname afile},"",ux

Note: This statement has been superceded by the shellscript statement and shellscript( function.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.