What happened today?
tldr@chopchop:~ $sudo journalctl -S today -u kitchen-stove.service -u kitchen-bin.service -u kitchen-fridge.service -r -n{% if kitchen_services|length > 0 %}
-
{% for item in kitchen_services %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $uptime -s
{{ since_last_boot }}
{% if since_last_boot is defined %} {% if days_since_last_boot|int > 14 %}This is unusual, we are used to ...{% else %}This is common, the fragility of these machines are more prominant than any cloud user expects. Partially because of scale, partially because a lot of labour that happen in datacenters just escapes us all when we want to just upload an image.{% endif %} {% endif %}tldr@chopchop:~ $sudo journalctl _COMM=useradd -r -n 1 --output-fields=MES
{{last_user_added}}
{% if last_user_name is defined %} {{ last_user_name}} user/s was/were added [] days ago, and the network of trust grew ever so slightly. {% endif %} {% if last_user_added is defined %} Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence). {% endif %}tldr@chopchop:~ $sudo journalctl -S today _COMM=useradd -r{% if users_created_today is defined %} A level 1 annotation for users_created_today {% endif %} {% if list_package_installs|length > 0 %}
tldr@chopchop:~ $ grep 'install' /var/log/dpkg.log
-
{% for item in list_package_installs %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $ grep 'upgrade' /var/log/dpkg.log
-
{% for item in list_package_upgrade %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $ grep 'remove' /var/log/dpkg.log
-
{% for item in list_package_remove %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo journalctl _COMM=systemd-login --output-fields=MESSAGE -S today -g "New session" | grep -v 'Boot'
-
{% for item in logins_today %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE
-
{% for item in groups_created %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo journalctl _COMM=groupremove -r --output-fields=MES
-
{% for item in groups_removed %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo journalctl _COMM=usermod -r
-
{% for item in user_modified %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo journalctl _COMM=userdel -r
-
{% for item in user_deleted %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $sudo service --status-all
-
{% for item in list_active_services %}
- {{ item }} {% endfor %}
tldr@chopchop:~ $getent group
-
{% for item in list_groups %}
- {{ item }} {% endfor %}