/etc/rport/rport.confon Linux or
C:\Program Files\rport\rport.confon Windows.
&. On Linux, you can use line breaks or the semicolon.
\nmust be allowed by the regular expression on the command restrictions.
systemctl (status|restart)can be followed by any character. For example,
systemctl status cron;poweroffis possible. If you want to allow just single command but with parameters, you must deny all characters that allow command concatenation.
cmd.exeshell of Windows. To execute a PowerShell command, you must prefix the command with
powershell, for example,
powershell "Get-Service spooler".