New root exploit found for Linux machines.

A new Linux exploit has been found for Linux machines. This involves the FUSE filesystem framework and can crash Systemd after executing a program as a normal user. This is CVE-2021-33910, Denial of service (stack exhaustion) in Systemd (PID 1). More information about this exploit may be found here: https://www.openwall.com/lists/oss-security/2021/07/20/2. A sample program proof of … Read more

Get information about running services with Systemd on Ubuntu.

The Systemd framework in Ubuntu may be used to get good information about running services on your machine. This is very easy. To list all active services on your Ubuntu machine, use this command. jason@jason-desktop:~/Videos$ systemctl list-units –type=service –state=activejason@jason-desktop:~/Videos$ systemctl list-units –type=service –state=active Or this command which is a fast way to list all running … Read more

Speed up the shutdown time of your Ubuntu machine using Systemd.

Systemd, by default waits a long time for some services to shutdown when switching off the machine. This can be annoying when you get a message in the console that a stop job is running for a certain service, and it is waiting for it to shutdown. But this can be fixed. Edit the /etc/systemd/system.conf … Read more

get information about running processes using Systemd.

The sudo systemctl status command will show a tree view of all running processes on your Linux machine. This is quite comprehensive and very useful output. Here is a sample. 4.4 Mon Mar 04 jason@Yog-Sothoth 1: $ sudo systemctl status ● Yog-Sothoth State: running Jobs: 0 queued Failed: 0 units Since: Mon 2019-03-04 18:52:58 AEDT; … Read more

Get the startup time of your Linux machine with systemd.

The systemd-analyze command will print the time taken for the system to boot up. This separates the time for the kernel and the userspace environment. root@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068sroot@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068s This command will get the date and … Read more

How to get information about your Linux services with systemd.

The systemd init system may be used to get information about your running services. Here I am getting information about the openvpn service. jason@eyjafjallajkull:~$ systemctl -a status openvpn.service ● openvpn.service – LSB: Openvpn VPN service Loaded: loaded (/etc/init.d/openvpn) Active: active (running) since Mon 2015-04-13 14:57:18 AEST; 5h 2min ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/openvpn.service └─1719 /usr/sbin/openvpn … Read more