This file is indexed.

/usr/share/zentyal/templates/users/user.mas is in zentyal-users 2.3.4.

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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!-- vim: ts=4 sw=4 nowrap filetype=mason
-->
<%args>
    $user
    @usergroups
    @remaingroups
    @components
    $slave => 1
</%args>
<%init>
use EBox::Gettext;
my $readOnly = $slave ? "readonly='readonly'" : "";
</%init>
<h3><% __('Administration of user') %> <span class='stitle'><% $user->{'username'} %></span></h3>
        <form action='ModifyUser' method='POST' autocomplete='off'>
        <input type="hidden" name="username" value="<% $user->{'username'} %>">
        <table class='formTable'>
        <tbody>
            <tr>
                <td class='tright'>
                    <span class='ftitle'>
                        <% __('First name') %>:
                    </span>
                </td>
                <td>
                  <& masterSlaveUserAttr,
                               name => 'name',
                               value=> $user->{'givenname'},
                               slave => $slave,
                   &>
                </td>
            </tr>
            <tr>
                <td class='tright'>
                    <span class='ftitle'>
                        <% __('Last name') %>:
                    </span>
                </td>
                <td>
                  <& masterSlaveUserAttr,
                               name => 'surname',
                               value=> $user->{'surname'},
                               slave => $slave,
                   &>
                </td>
            </tr>
            <tr>
                <td class='tright' width="170px">
                    <span class='ftitle'>
                        <% __('Comment') %>:
                    </span>
                    <div class="optional_field">
                        <% __('Optional') %>
                    </div>
                </td>
                <td>
                  <& masterSlaveUserAttr,
                               name => 'comment',
                               value=> $user->{'comment'},
                               slave => $slave,
                   &>
                </td>
            </tr>
            <tr>
                <td class='tright'>
                    <span class='ftitle'>
                        <% __('User quota') %>:
                    </span>
                </td>
                <td>
                    <input type='text' class='inputText' name='quota' value="<% $user->{'quota'} %>">
                </td>
            </tr>
%   unless ($slave) {
            <tr>
                <td class='tright'>
                    <span class='ftitle'>
                        <% __('Password') %>:
                    </span>
                </td>
                <td>
                    <input type='password' class='inputText' name='password'>
                </td>
            </tr>
            <tr>
                <td class='tright'>
                    <span class='ftitle'>
                        <% __('Retype password') %>:
                    </span>
                </td>
                <td>
                    <input type='password' class='inputText' name='repassword'>
                </td>
            </tr>
% }
            <tr>
                <td>
                </td>
                <td>
                    <input class='inputButton' type='submit' name='user'
                           value="<% __('Change') %>"
                           alt="<% __('Change') %>">
                <td>
            </tr>
        </tbody>
        </table>
        </form>

% unless ($slave) {
<!-- Groups widget -->
<table>
<thead>
    <tr>
        <th class="tleft"><% __("User groups") %></th>
        <th></th>
        <th class="tleft"><% __("Other groups") %></th>
    </tr>
</thead>
<tbody>
<tr>
    <td rowspan="2">
    <form action='DelGroupFromUser' method='post'>
        <select name='delgroup' size='8' multiple>
%   if(@usergroups) {
%           foreach my $group (@usergroups){
                <option value="<% $group %>">
                    <% $group %>
                </option>
%           }
%   } else {
                <option value="" disabled>
                    <% __('Empty list') %>
                </option>
%   }
        </select>
    </td>

    <td>
        <input  class='inputButton' type='image' name='delfromuser'
                value="<%__('Remove')%>"
                src='/data/images/right.gif'
                title="<%('Remove groups from user')%>"
                alt="<%__('Remove groups from user')%>" />
        <input  type="hidden" name="user"
                value="<% $user->{'username'} %>"/>
    </form>
        <br />
        <br />
    <form action='AddGroupToUser' method='post'>
        <input  class='inputButton' type='image' name='addtouser'
                value="<%__('Add users to group')%>"
                src='/data/images/left.gif'
                title="<%('Add users to group')%>"
                alt="<%__('Add users to group')%>" />
    </td>

    <td>
        <select name='addgroup' size='8' multiple>
%       if(@remaingroups) {
%           foreach my $group (@remaingroups){
                <option value="<% $group %>">
                    <% $group %>
                </option>
%           }
%       } else {
                <option value="" disabled>
                    <% __('Empty list') %>
                </option>
%       }
        </select>
        <input type="hidden" name="user" value="<% $user->{'username'} %>">
    </form>
    </td>
</tr>
</tbody>
</table>
% }

% foreach my $comp (@components) {
      <& $comp->{'path'}, 'params' => $comp->{'params'}   &>
% }

% unless ($slave) {

<h3><%__('Delete user')%></h3>
<div class='note'>
    <% __('This operation will cause the removal of the user and all dependent data such as mail accounts, user files, etc.') %>
</div>
<form action='Del' method='POST'>
<p>
<input type="hidden" name="objectname" value="<% $user->{'username'} %>">
            <input class='inputButton' type='submit' name='deluser'
                   value="<% __('Delete user') %>"
                   alt="<% __('Delete user') %>">
</p>
</form>
% }

<%def masterSlaveUserAttr>
<%args>
$name
$value
$slave
</%args>
% if ($slave) {
<% $value %>
 <input type="hidden" name="<% $name %>" value="<% $value %>" />
% } else {
 <input type='text' class='inputText' name="<% $name %>" value="<% $value %>" />
%}
</%def>