jumpserver/webroot/AutoSa/templates/showSudo.html

19 lines
626 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{% extends 'base.html' %}
{% block content %}
<fieldset >
<legend>{{ username }}</legend>
<b>允许sudo的主机</b>
<ul class="list-group">
{% for host in sudoHost %}
<li class="list-group-item">{{ host }}</li>
{% endfor %}
</ul>
<br />
<b>允许的sudo命令</b>
<ul class="list-group">
{% for cmd in sudoCommand %}
<li class="list-group-item">{{ cmd }}</li>
{% endfor %}
</ul>
</fieldset>
{% endblock %}