/usr/share/gosa/plugins/admin/sudo/generic.tpl is in gosa-plugin-sudo 2.7.4+reloaded2-9ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | {if $is_default}
<h3>{t}Generic{/t} - {t}global defaults{/t}</h3>
<table style="width:100%;" summary="{t}Generic{/t} - {t}global defaults{/t}">
<tr>
<td>
{t}Name{/t}{$must}
</td>
<td>
<input type="text" name="dummy" value="{$cn}" disabled>
</td>
</tr>
<tr>
<td>
{t}Description{/t}
</td>
<td>
{render acl=$descriptionACL}
<input type="text" name="description" value="{$description}">
{/render}
</td>
</tr>
</table>
{else}
<table style="width:100%;" summary="{t}Generic{/t}">
<tr>
<td style='width:50%'> <h3>{t}Generic{/t}</h3>
<table summary="{t}Generic{/t}">
<tr>
<td>
{t}Name{/t}{$must}
</td>
<td>
{render acl=$cnACL}
<input type="text" name="cn" value="{$cn}">
{/render}
</td>
</tr>
<tr>
<td>
{t}Description{/t}
</td>
<td>
{render acl=$descriptionACL}
<input type="text" name="description" value="{$description}">
{/render}
</td>
</tr>
</table>
</td>
<td class='left-border'>
{$trustModeDialog}
</td>
</tr>
<tr><td style="width:100%;"colspan="2"><hr></td></tr>
<tr>
<td style="width:50%;padding-right:5px;">
<h3>{t}Users and groups{/t}</h3>
{render acl=$sudoUserACL}
{$listing_sudoUser}
{/render}
{render acl=$sudoUserACL}
<input type='text' value='' name='new_sudoUser'>
{/render}
{render acl=$sudoUserACL}
<button type='submit' name='add_sudoUser'>{msgPool type=addButton}</button>
{/render}
{render acl=$sudoUserACL}
<button type='submit' name='list_sudoUser'>{t}Add from list{/t}</button>
{/render}
</td>
<td class='left-border'>
<h3>{t}Systems{/t}</h3>
{render acl=$sudoHostACL}
{$listing_sudoHost}
{/render}
{render acl=$sudoHostACL}
<input type='text' value='' name='new_sudoHost'>
{/render}
{render acl=$sudoHostACL}
<button type='submit' name='add_sudoHost'>{msgPool type=addButton}</button>
{/render}
{if $systemEnabled}
{render acl=$sudoHostACL}
<button type='submit' name='list_sudoHost'>{t}Add from list{/t}</button>
{/render}
{/if}
</td>
</tr>
<tr><td style="width:100%;"colspan="2"><hr></td></tr>
<tr>
<td style="padding-right:5px;">
<h3>{t}Commands{/t}</h3>
{render acl=$sudoCommandACL}
{$listing_sudoCommand}
{/render}
{render acl=$sudoCommandACL}
<input type='text' value='' name='new_sudoCommand'>
{/render}
{render acl=$sudoCommandACL}
<button type='submit' name='add_sudoCommand'>{msgPool type=addButton}</button>
{/render}
</td>
<td class='left-border'>
<h3>{t}Run as{/t}</h3>
{render acl=$sudoRunAsACL}
{$listing_sudoRunAs}
{/render}
{render acl=$sudoRunAsACL}
<input type='text' value='' name='new_sudoRunAs'>
{/render}
{render acl=$sudoRunAsACL}
<button type='submit' name='add_sudoRunAs'>{msgPool type=addButton}</button>
{/render}
</td>
</tr>
</table>
{/if}
|