ISSUE 5942 Templating sudo variables.