user_deleted etc

main
vitrinekast 9 months ago
parent fbe9de92e7
commit d731f2b67e

@ -223,68 +223,57 @@ user_deleted : {{ user_deleted }}
<mark>
This command shows whether groups were added today.
</mark>
<ul>
{% for item in groups_created %}
<li>{{ item }}</li>
<mark>
{{ log_output(groups_created) }}
<mark>
These new working groups were added today. They might be used for creating new projects, maintaining or
managing parts of the server, or for organizational purposes.
</mark>
<b>check dis</b>
{% endfor %}
</ul>
{% endif %}
{% if groups_removed|length > 0 %}
<p><em>tldr@chopchop:~ $</em>sudo journalctl _COMM=grouPremove -r --output-fields=MES</p>
<mark>
This command shows whether groups were removed today.
</mark>
{% if groups_created|length < 0 %}
<mark>No groups were added today.</mark>
{{ log_output(groups_removed) }}
<mark>
These new groups were removed today. Most likely they were no longer relevant or purposeful.
</mark>
{% endif %}
<b>For some reason this if statement is not working, i didn't apply it to the next 4 categories because i
wanted to check it works first</b>
<p><em>tldr@chopchop:~ $</em>sudo journalctl _COMM=grouPremove -r --output-fields=MES</p>
<mark>
This command shows whether groups were removed today.
</mark>
{% if user_modified|length > 0 %}
<ul>
{% for item in groups_removed %}
<li>{{ item }}</li>
<mark>
These new groups were removed today. Most likely they were no longer relevant or purposeful.
</mark>
<b>check dis</b>
{% endfor %}
</ul>
<p><em>tldr@chopchop:~ $</em>sudo journalctl _COMM=usermod -r</p>
<mark>
This command shows whether users were modified today.
</mark>
{{ log_output(user_modified) }}
<p><em>tldr@chopchop:~ $</em>sudo journalctl _COMM=usermod -r</p>
<mark>
This command shows whether users were modified today.
</mark>
<ul>
{% for item in user_modified %}
<li>{{ item }}</li>
<mark>
These users have been modified. Probably because someone changed their password, keys, or other
settings, or given new permissions.
</mark>
<b>check dis</b>
{% endfor %}
</ul>
{% endif %}
{% if user_deleted|length > 0 %}
<p><em>tldr@chopchop:~ $</em>sudo journalctl _COMM=userdel -r</p>
<mark>
This command shows whether users were removed today.
</mark>
<ul>
{% for item in user_deleted %}
<li>{{ item }}</li>
<mark>
It seems that a user was removed. This doesn't happen too often... It could be that they have done
something to lose the trust of the community. The circle of trust shrunk ever so slightly.
</mark>
<b>check dis</b>
{% endfor %}
</ul>
{{ log_output(user_deleted) }}
<mark>
It seems that a user was removed. This doesn't happen too often... It could be that they have done
something to lose the trust of the community. The circle of trust shrunk ever so slightly.
</mark>
{% endif %}
<p><em>tldr@chopchop:~ $</em>sudo service --status-all</p>
<mark>
@ -292,21 +281,12 @@ user_deleted : {{ user_deleted }}
on the server. They are marked with an [+].
The rest, marked with a [-], are idle, not running, or waiting to be activating upon sending a request.
</mark>
<ul>
{% for item in list_active_services %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{{ log_output(list_active_services) }}
<p><em>tldr@chopchop:~ $</em>sudo journalctl -S today -u kitchen-stove.service -u
kitchen-bin.service -u kitchen-fridge.service -r -n</p>
{% if kitchen_services|length > 0 %}
<ul>
{% for item in kitchen_services %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% endif %}
{{ log_output(kitchen_services) }}
<script type="text/javascript" src="script.js"></script>
</body>

Loading…
Cancel
Save