This file is indexed.

/usr/lib/python2.7/dist-packages/napalm_eos/templates/delete_users.j2 is in python-napalm-eos 0.6.1-1.

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
{%- for user_name, user_details in users.items() %}
{%- if user_details is not none %}
{%- if user_details.get('password') %}
username {{user_name}} nopassword
{%- endif %}
{%- if user_details.get('level') %}
no username {{user_name}} privilege {{user_details.level}}
{%- endif %}
{%- if user_details.get('sshkeys') %}
{%- for sshkey in user_details.sshkeys %}
no username {{user_name}} sshkey {{ sshkey }}
{%- endfor %}
{%- endif %}
{%- else %}
no username {{user_name}}
{%- endif %}
{%- endfor %}