System/Kernel


james@blaze:~$ uname -a ; cat /etc/*release
Linux blaze 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
  • 5.4.0-146-generic
  • x86_64
  • Ubuntu 20.04.6 LTS (Focal Fossa)

Networks


james@blaze:~$ ip route ; arp -a
default via 192.168.152.254 dev ens160 proto static metric 100 
192.168.152.0/24 dev ens160 proto kernel scope link src 192.168.152.10 metric 100 
_gateway (192.168.152.254) at 00:50:56:9e:8d:f2 [ether] on ens160
james@blaze:~$ netstat -antup4
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:33060         0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:42603         0.0.0.0:*               LISTEN      6702/cockpit-bridge 
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                   
tcp        0      1 192.168.152.10:58326    91.189.91.43:443        SYN_SENT    -                   
udp        0      0 127.0.0.53:53           0.0.0.0:*                           -   
  • tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN -
  • tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
  • tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -

Users & Groups


james@blaze:~$ cat /etc/passwd ; ll /home
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-network:x:100:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
systemd-timesync:x:102:104:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:103:106::/nonexistent:/usr/sbin/nologin
syslog:x:104:110::/home/syslog:/usr/sbin/nologin
_apt:x:105:65534::/nonexistent:/usr/sbin/nologin
tss:x:106:111:TPM software stack,,,:/var/lib/tpm:/bin/false
uuidd:x:107:112::/run/uuidd:/usr/sbin/nologin
tcpdump:x:108:113::/nonexistent:/usr/sbin/nologin
landscape:x:109:115::/var/lib/landscape:/usr/sbin/nologin
pollinate:x:110:1::/var/cache/pollinate:/bin/false
usbmux:x:111:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
sshd:x:112:65534::/run/sshd:/usr/sbin/nologin
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
lxd:x:998:100::/var/snap/lxd/common/lxd:/bin/false
fwupd-refresh:x:113:117:fwupd-refresh user,,,:/run/systemd:/usr/sbin/nologin
james:x:1000:1000::/home/james:/bin/bash
mysql:x:114:119:MySQL Server,,,:/nonexistent:/bin/false
dnsmasq:x:115:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
cockpit-ws:x:116:120::/nonexisting:/usr/sbin/nologin
cockpit-wsinstance:x:117:121::/nonexisting:/usr/sbin/nologin
total 12
drwxr-xr-x  3 root  root  4096 Mar 29  2023 ./
drwxr-xr-x 19 root  root  4096 Mar 29  2023 ../
drwx--x--x  2 james james 4096 Mar 29  2023 james/
james@blaze:~$ cut -d: -f1 /etc/passwd | xargs -n1 id
uid=0(root) gid=0(root) groups=0(root)
uid=1(daemon) gid=1(daemon) groups=1(daemon)
uid=2(bin) gid=2(bin) groups=2(bin)
uid=3(sys) gid=3(sys) groups=3(sys)
uid=4(sync) gid=65534(nogroup) groups=65534(nogroup)
uid=5(games) gid=60(games) groups=60(games)
uid=6(man) gid=12(man) groups=12(man)
uid=7(lp) gid=7(lp) groups=7(lp)
uid=8(mail) gid=8(mail) groups=8(mail)
uid=9(news) gid=9(news) groups=9(news)
uid=10(uucp) gid=10(uucp) groups=10(uucp)
uid=13(proxy) gid=13(proxy) groups=13(proxy)
uid=33(www-data) gid=33(www-data) groups=33(www-data)
uid=34(backup) gid=34(backup) groups=34(backup)
uid=38(list) gid=38(list) groups=38(list)
uid=39(irc) gid=39(irc) groups=39(irc)
uid=41(gnats) gid=41(gnats) groups=41(gnats)
uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
uid=100(systemd-network) gid=102(systemd-network) groups=102(systemd-network)
uid=101(systemd-resolve) gid=103(systemd-resolve) groups=103(systemd-resolve)
uid=102(systemd-timesync) gid=104(systemd-timesync) groups=104(systemd-timesync)
uid=103(messagebus) gid=106(messagebus) groups=106(messagebus)
uid=104(syslog) gid=110(syslog) groups=110(syslog),4(adm),5(tty)
uid=105(_apt) gid=65534(nogroup) groups=65534(nogroup)
uid=106(tss) gid=111(tss) groups=111(tss)
uid=107(uuidd) gid=112(uuidd) groups=112(uuidd)
uid=108(tcpdump) gid=113(tcpdump) groups=113(tcpdump)
uid=109(landscape) gid=115(landscape) groups=115(landscape)
uid=110(pollinate) gid=1(daemon) groups=1(daemon)
uid=111(usbmux) gid=46(plugdev) groups=46(plugdev)
uid=112(sshd) gid=65534(nogroup) groups=65534(nogroup)
uid=999(systemd-coredump) gid=999(systemd-coredump) groups=999(systemd-coredump)
uid=998(lxd) gid=100(users) groups=100(users)
uid=113(fwupd-refresh) gid=117(fwupd-refresh) groups=117(fwupd-refresh)
uid=1000(james) gid=1000(james) groups=1000(james)
uid=114(mysql) gid=119(mysql) groups=119(mysql)
uid=115(dnsmasq) gid=65534(nogroup) groups=65534(nogroup)
uid=116(cockpit-ws) gid=120(cockpit-ws) groups=120(cockpit-ws)
uid=117(cockpit-wsinstance) gid=121(cockpit-wsinstance) groups=121(cockpit-wsinstance)

uid=1000(james) gid=1000(james) groups=1000(james)

SUIDs


james@blaze:~$ find / -perm -04000 -ls -type f 2>/dev/null
      816     84 -rwsr-xr-x   1 root     root        85064 Nov 29  2022 /snap/core20/1852/usr/bin/chfn
      822     52 -rwsr-xr-x   1 root     root        53040 Nov 29  2022 /snap/core20/1852/usr/bin/chsh
      891     87 -rwsr-xr-x   1 root     root        88464 Nov 29  2022 /snap/core20/1852/usr/bin/gpasswd
      975     55 -rwsr-xr-x   1 root     root        55528 Feb  7  2022 /snap/core20/1852/usr/bin/mount
      984     44 -rwsr-xr-x   1 root     root        44784 Nov 29  2022 /snap/core20/1852/usr/bin/newgrp
      999     67 -rwsr-xr-x   1 root     root        68208 Nov 29  2022 /snap/core20/1852/usr/bin/passwd
     1109     67 -rwsr-xr-x   1 root     root        67816 Feb  7  2022 /snap/core20/1852/usr/bin/su
     1110    163 -rwsr-xr-x   1 root     root       166056 Jan 16  2023 /snap/core20/1852/usr/bin/sudo
     1168     39 -rwsr-xr-x   1 root     root        39144 Feb  7  2022 /snap/core20/1852/usr/bin/umount
     1257     51 -rwsr-xr--   1 root     systemd-resolve    51344 Oct 25  2022 /snap/core20/1852/usr/lib/dbus-1.0/dbus-daemon-launch-helper
     1629    463 -rwsr-xr-x   1 root     root              473576 Mar 30  2022 /snap/core20/1852/usr/lib/openssh/ssh-keysign
      811     84 -rwsr-xr-x   1 root     root               85064 Mar 14  2022 /snap/core20/1611/usr/bin/chfn
      817     52 -rwsr-xr-x   1 root     root               53040 Mar 14  2022 /snap/core20/1611/usr/bin/chsh
      886     87 -rwsr-xr-x   1 root     root               88464 Mar 14  2022 /snap/core20/1611/usr/bin/gpasswd
      970     55 -rwsr-xr-x   1 root     root               55528 Feb  7  2022 /snap/core20/1611/usr/bin/mount
      979     44 -rwsr-xr-x   1 root     root               44784 Mar 14  2022 /snap/core20/1611/usr/bin/newgrp
      992     67 -rwsr-xr-x   1 root     root               68208 Mar 14  2022 /snap/core20/1611/usr/bin/passwd
     1101     67 -rwsr-xr-x   1 root     root               67816 Feb  7  2022 /snap/core20/1611/usr/bin/su
     1102    163 -rwsr-xr-x   1 root     root              166056 Jan 19  2021 /snap/core20/1611/usr/bin/sudo
     1160     39 -rwsr-xr-x   1 root     root               39144 Feb  7  2022 /snap/core20/1611/usr/bin/umount
     1249     51 -rwsr-xr--   1 root     systemd-resolve    51344 Apr 29  2022 /snap/core20/1611/usr/lib/dbus-1.0/dbus-daemon-launch-helper
     1621    463 -rwsr-xr-x   1 root     root              473576 Mar 30  2022 /snap/core20/1611/usr/lib/openssh/ssh-keysign
      139    121 -rwsr-xr-x   1 root     root              123560 Feb 22  2023 /snap/snapd/18596/usr/lib/snapd/snap-confine
    55135     52 -rwsr-x---   1 root     cockpit-wsinstance    51464 Mar 23  2020 /usr/lib/cockpit/cockpit-session
     1555     52 -rwsr-xr--   1 root     messagebus            51344 Oct 25  2022 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
     1369     16 -rwsr-xr-x   1 root     root                  14488 Jul  8  2019 /usr/lib/eject/dmcrypt-get-device
    51079    144 -rwsr-xr-x   1 root     root                 146888 Dec  1  2022 /usr/lib/snapd/snap-confine
     1568    464 -rwsr-xr-x   1 root     root                 473576 Mar 30  2022 /usr/lib/openssh/ssh-keysign
     1578     24 -rwsr-xr-x   1 root     root                  22840 Feb 21  2022 /usr/lib/policykit-1/polkit-agent-helper-1
     8601     52 -rwsr-xr-x   1 root     root                  53040 Nov 29  2022 /usr/bin/chsh
      483     56 -rwsr-sr-x   1 daemon   daemon                55560 Nov 12  2018 /usr/bin/at
     1087     68 -rwsr-xr-x   1 root     root                  67816 Feb  7  2022 /usr/bin/su
      664     40 -rwsr-xr-x   1 root     root                  39144 Mar  7  2020 /usr/bin/fusermount
     8457     84 -rwsr-xr-x   1 root     root                  85064 Nov 29  2022 /usr/bin/chfn
     1159     40 -rwsr-xr-x   1 root     root                  39144 Feb  7  2022 /usr/bin/umount
     7015    164 -rwsr-xr-x   1 root     root                 166056 Jan 16  2023 /usr/bin/sudo
     8638     68 -rwsr-xr-x   1 root     root                  68208 Nov 29  2022 /usr/bin/passwd
      294     44 -rwsr-xr-x   1 root     root                  44784 Nov 29  2022 /usr/bin/newgrp
      815     56 -rwsr-xr-x   1 root     root                  55528 Feb  7  2022 /usr/bin/mount
     8621     88 -rwsr-xr-x   1 root     root                  88464 Nov 29  2022 /usr/bin/gpasswd
    56030    388 -rwsr-xr--   1 root     dip                  395144 Jul 23  2020 /usr/sbin/pppd

SGIDs


james@blaze:~$ find / -perm -02000 -ls -type f 2>/dev/null
      811     83 -rwxr-sr-x   1 root     shadow      84512 Nov 29  2022 /snap/core20/1852/usr/bin/chage
      872     31 -rwxr-sr-x   1 root     shadow      31312 Nov 29  2022 /snap/core20/1852/usr/bin/expiry
     1101    343 -rwxr-sr-x   1 root     crontab    350504 Mar 30  2022 /snap/core20/1852/usr/bin/ssh-agent
     1187     35 -rwxr-sr-x   1 root     tty         35048 Feb  7  2022 /snap/core20/1852/usr/bin/wall
     7290     43 -rwxr-sr-x   1 root     shadow      43168 Feb  2  2023 /snap/core20/1852/usr/sbin/pam_extrausers_chkpwd
     7334     43 -rwxr-sr-x   1 root     shadow      43160 Feb  2  2023 /snap/core20/1852/usr/sbin/unix_chkpwd
    11918      0 drwxrwsr-x   2 root     mail            3 Mar  8  2023 /snap/core20/1852/var/mail
      806     83 -rwxr-sr-x   1 root     shadow      84512 Mar 14  2022 /snap/core20/1611/usr/bin/chage
      867     31 -rwxr-sr-x   1 root     shadow      31312 Mar 14  2022 /snap/core20/1611/usr/bin/expiry
     1093    343 -rwxr-sr-x   1 root     crontab    350504 Mar 30  2022 /snap/core20/1611/usr/bin/ssh-agent
     1179     35 -rwxr-sr-x   1 root     tty         35048 Feb  7  2022 /snap/core20/1611/usr/bin/wall
     7245     43 -rwxr-sr-x   1 root     shadow      43168 Sep 17  2021 /snap/core20/1611/usr/sbin/pam_extrausers_chkpwd
     7289     43 -rwxr-sr-x   1 root     shadow      43160 Sep 17  2021 /snap/core20/1611/usr/sbin/unix_chkpwd
    11788      0 drwxrwsr-x   2 root     mail            3 Aug  5  2022 /snap/core20/1611/var/mail
   410687      4 drwxr-s---   2 root     dip          4096 Mar 29  2023 /etc/ppp/peers
   410651      4 drwxr-s---   2 root     dip          4096 Mar 29  2023 /etc/chatscripts
      352      0 drwxr-sr-x   2 root     systemd-journal       40 Aug  3  2024 /run/log/journal
    54802      4 drwxrwsr-x   2 root     staff               4096 Mar 29  2023 /usr/local/share/fonts
     8822      4 drwxrwsr-x   3 root     staff               4096 Aug 31  2022 /usr/local/lib/python3.8
     8823      4 drwxrwsr-x   2 root     staff               4096 Aug 31  2022 /usr/local/lib/python3.8/dist-packages
   134856     16 -rwxr-sr-x   1 root     utmp               14648 Sep 30  2019 /usr/lib/x86_64-linux-gnu/utempter/utempter
      483     56 -rwsr-sr-x   1 daemon   daemon             55560 Nov 12  2018 /usr/bin/at
      496     16 -rwxr-sr-x   1 root     tty                14488 Mar 30  2020 /usr/bin/bsd-write
     8337     84 -rwxr-sr-x   1 root     shadow             84512 Nov 29  2022 /usr/bin/chage
     1202     36 -rwxr-sr-x   1 root     tty                35048 Feb  7  2022 /usr/bin/wall
     8619     32 -rwxr-sr-x   1 root     shadow             31312 Nov 29  2022 /usr/bin/expiry
     1077    344 -rwxr-sr-x   1 root     ssh               350504 Mar 30  2022 /usr/bin/ssh-agent
      581     44 -rwxr-sr-x   1 root     crontab            43720 Feb 13  2020 /usr/bin/crontab
     3994     44 -rwxr-sr-x   1 root     shadow             43160 Feb  2  2023 /usr/sbin/unix_chkpwd
     3988     44 -rwxr-sr-x   1 root     shadow             43168 Feb  2  2023 /usr/sbin/pam_extrausers_chkpwd
   270685      4 drwxr-sr-x   3 root     systemd-journal     4096 Jan 24  2023 /var/log/journal
   265468      4 drwxr-sr-x   2 root     systemd-journal     4096 Mar 24 23:19 /var/log/journal/d2737565435f491e97f49bb5b34ba02e
    12312      4 drwxrwsr-x   2 root     staff               4096 Apr 15  2020 /var/local
    12314      4 drwxrwsr-x   2 root     mail                4096 Aug 31  2022 /var/mail

Capabilities


james@blaze:~$ getcap -r / 2>/dev/null
/snap/core20/1852/usr/bin/ping = cap_net_raw+ep
/snap/core20/1611/usr/bin/ping = cap_net_raw+ep
/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-ptp-helper = cap_net_bind_service,cap_net_admin+ep
/usr/bin/ping = cap_net_raw+ep
/usr/bin/mtr-packet = cap_net_raw+ep
/usr/bin/traceroute6.iputils = cap_net_raw+ep

Processes


james@blaze:~$ ps -auxwww
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.1  0.6 171212 13132 ?        Rs   22:58   0:02 /sbin/init maybe-ubiquity
root         488  0.0  0.8  52132 16424 ?        S<s  22:58   0:00 /lib/systemd/systemd-journald
root         522  0.0  0.3  22760  6376 ?        Ss   22:58   0:00 /lib/systemd/systemd-udevd
root         690  0.0  0.8 345816 18220 ?        SLsl 22:58   0:00 /sbin/multipathd -d -s
systemd+     732  0.0  0.3  90880  6180 ?        Ssl  22:58   0:00 /lib/systemd/systemd-timesyncd
root         742  0.0  0.5  47544 10388 ?        Ss   22:58   0:00 /usr/bin/VGAuthService
root         743  0.0  0.4 237812  8400 ?        Ssl  22:58   0:00 /usr/bin/vmtoolsd
systemd+     818  0.0  0.3  27372  7960 ?        Ss   22:58   0:00 /lib/systemd/systemd-networkd
systemd+     820  0.0  0.5  24412 11904 ?        Ss   22:58   0:00 /lib/systemd/systemd-resolved
root         924  0.0  0.4 239280  9356 ?        Ssl  23:00   0:00 /usr/lib/accountsservice/accounts-daemon
message+     925  0.0  0.2   8120  5372 ?        Ss   23:00   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root         933  0.0  0.1  81956  3644 ?        Ssl  23:00   0:00 /usr/sbin/irqbalance --foreground
root         934  0.0  0.9  29664 18476 ?        Ss   23:00   0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root         937  0.0  0.5 241536 10924 ?        Ssl  23:00   0:00 /usr/lib/policykit-1/polkitd --no-debug
syslog       939  0.0  0.2 224344  5304 ?        Ssl  23:00   0:00 /usr/sbin/rsyslogd -n -iNONE
root         941  0.5  2.1 949032 42912 ?        Ssl  23:00   0:09 /usr/lib/snapd/snapd
root         942  0.0  0.3  17536  7800 ?        Ss   23:00   0:00 /lib/systemd/systemd-logind
root         943  0.0  0.7 880152 14312 ?        Ssl  23:00   0:00 /usr/lib/udisks2/udisksd
root         944  0.0  0.2  13688  4960 ?        Ss   23:00   0:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root         994  0.0  0.6 245088 13256 ?        Ssl  23:00   0:00 /usr/sbin/ModemManager
root        1000  0.0  1.0 107924 20656 ?        Ssl  23:00   0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root        1065  0.0  0.1   6816  2724 ?        Ss   23:00   0:00 /usr/sbin/cron -f
daemon      1073  0.0  0.1   3796  2300 ?        Ss   23:00   0:00 /usr/sbin/atd -f
root        1091  0.0  0.0   5828  1828 tty1     Ss+  23:00   0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root        1105  0.0  0.3  12180  7376 ?        Ss   23:00   0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
mysql       1106  0.2 19.9 1803796 405740 ?      Ssl  23:00   0:05 /usr/sbin/mysqld
root        1120  0.0  1.8 237084 37280 ?        Ss   23:00   0:00 /usr/sbin/apache2 -k start
root        1429  0.0  1.4 384908 29216 ?        Ssl  23:00   0:00 /usr/libexec/fwupd/fwupd
www-data    1474  0.0  0.7 237556 15524 ?        S    23:00   0:00 /usr/sbin/apache2 -k start
www-data    1475  0.0  0.7 237556 15524 ?        S    23:00   0:00 /usr/sbin/apache2 -k start
www-data    1476  0.0  0.7 237556 15524 ?        S    23:00   0:00 /usr/sbin/apache2 -k start
www-data    1477  0.0  0.7 237556 15524 ?        S    23:00   0:00 /usr/sbin/apache2 -k start
www-data    1478  0.0  0.7 237556 15524 ?        S    23:00   0:00 /usr/sbin/apache2 -k start
root        1504  0.0  0.4 241196  9260 ?        Ssl  23:00   0:00 /usr/lib/upower/upowerd
root        1746  0.0  1.0 261524 20636 ?        Ssl  23:00   0:00 /usr/sbin/NetworkManager --no-daemon
www-data    1955  0.0  0.7 237556 15524 ?        S    23:01   0:00 /usr/sbin/apache2 -k start
www-data    4774  0.0  0.7 237556 15524 ?        S    23:06   0:00 /usr/sbin/apache2 -k start
www-data    6352  0.0  0.7 237556 14616 ?        S    23:16   0:00 /usr/sbin/apache2 -k start
cockpit+    6452  0.4  0.3 1032784 6808 ?        Ssl  23:19   0:02 /usr/lib/cockpit/cockpit-tls
cockpit+    6457  0.0  0.4 308292  8644 ?        Rsl  23:19   0:00 /usr/lib/cockpit/cockpit-ws --for-tls-proxy --port=0
root        6689  0.0  0.2   9956  5540 ?        S    23:21   0:00 /usr/lib/cockpit/cockpit-session localhost
james       6692  0.0  0.0   6036   452 ?        Ss   23:21   0:00 /usr/bin/ssh-agent
james       6696  0.0  0.4  19072  9660 ?        Ss   23:21   0:00 /lib/systemd/systemd --user
james       6697  0.0  0.2 172428  4784 ?        S    23:21   0:00 (sd-pam)
james       6702  0.2  0.9 318476 19756 ?        Rl   23:21   0:01 cockpit-bridge
root        6750  0.0  0.2  16920  5880 ?        Ss   23:21   0:00 /lib/systemd/systemd-timedated
james       6856  0.0  0.2   8260  4968 pts/0    Ss   23:22   0:00 /bin/bash
james       6911  0.0  0.6  18624 12592 ?        S    23:23   0:00 /usr/bin/python3 -
james       6982  0.0  0.2  28112  5824 ?        S    23:23   0:00 journalctl -q --lines=10 --output=json --follow -- _SYSTEMD_UNIT=storaged.service + _SYSTEMD_UNIT=udisks2.service + _SYSTEMD_UNIT=dm-event.service + _SYSTEMD_UNIT=smartd.service + _SYSTEMD_UNIT=multipathd.service
james       6997  0.0  0.2  28112  5852 ?        S    23:23   0:00 journalctl -q --lines=10 --output=json --follow -- _SYSTEMD_UNIT=NetworkManager.service _SYSTEMD_UNIT=firewalld.service
james       7072  0.0  0.2  28112  5760 ?        S    23:23   0:00 journalctl -q --no-tail --output=json --follow -- PRIORITY=0 PRIORITY=1 PRIORITY=2 PRIORITY=3
james       7348  0.0  0.1   9080  3548 pts/0    R+   23:30   0:00 ps -auxwww
  • root 937 0.0 0.5 241536 10924 ? Ssl 23:00 0:00 /usr/lib/policykit-1/polkitd --no-debug
  • root 1065 0.0 0.1 6816 2724 ? Ss 23:00 0:00 /usr/sbin/cron -f
  • mysql 1106 0.2 19.9 1803796 405740 ? Ssl 23:00 0:05 /usr/sbin/mysqld
  • root 6689 0.0 0.2 9956 5540 ? S 23:21 0:00 /usr/lib/cockpit/cockpit-session localhost

Cron & Systemd


james@blaze:~$ crontab -l ; cat /etc/crontab ; systemctl list-timers
no crontab for james
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
 
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
NEXT                        LEFT        LAST                        PASSED    UNIT                         ACTIVATES                     
Mon 2025-03-24 23:39:00 UTC 6min left   Mon 2025-03-24 23:09:13 UTC 23min ago phpsessionclean.timer        phpsessionclean.service       
Mon 2025-03-24 23:45:59 UTC 13min left  n/a                         n/a       ua-timer.timer               ua-timer.service              
Tue 2025-03-25 00:00:00 UTC 27min left  Mon 2025-03-24 23:00:32 UTC 31min ago logrotate.timer              logrotate.service             
Tue 2025-03-25 00:00:00 UTC 27min left  Mon 2025-03-24 23:00:32 UTC 31min ago man-db.timer                 man-db.service                
Tue 2025-03-25 06:48:16 UTC 7h left     Mon 2025-03-24 23:00:32 UTC 31min ago apt-daily-upgrade.timer      apt-daily-upgrade.service     
Tue 2025-03-25 09:02:16 UTC 9h left     Mon 2025-03-24 23:00:32 UTC 31min ago motd-news.timer              motd-news.service             
Tue 2025-03-25 10:23:49 UTC 10h left    Mon 2025-03-24 23:00:32 UTC 31min ago apt-daily.timer              apt-daily.service             
Tue 2025-03-25 14:03:45 UTC 14h left    Mon 2025-03-24 23:00:32 UTC 31min ago fwupd-refresh.timer          fwupd-refresh.service         
Tue 2025-03-25 23:13:18 UTC 23h left    Mon 2025-03-24 23:13:18 UTC 19min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Sun 2025-03-30 03:10:31 UTC 5 days left Mon 2025-03-24 23:00:32 UTC 31min ago e2scrub_all.timer            e2scrub_all.service           
Mon 2025-03-31 00:00:00 UTC 6 days left Mon 2025-03-24 23:00:32 UTC 31min ago fstrim.timer                 fstrim.service                
 
11 timers listed.
Pass --all to see loaded but inactive timers, too.

Services


james@blaze:~$ systemctl list-units --state=running
  UNIT                                                                                              LOAD   ACTIVE SUB     DESCRIPTION                                       >
  proc-sys-fs-binfmt_misc.automount                                                                 loaded active running Arbitrary Executable File Formats File System Auto>
  init.scope                                                                                        loaded active running System and Service Manager                        >
  session-5.scope                                                                                   loaded active running Session 5 of user james                           >
  accounts-daemon.service                                                                           loaded active running Accounts Service                                  >
  apache2.service                                                                                   loaded active running The Apache HTTP Server                            >
  atd.service                                                                                       loaded active running Deferred execution scheduler                      >
  cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.service loaded active running Cockpit Web Service https instance e3b0c44298fc1c1>
  cockpit.service                                                                                   loaded active running Cockpit Web Service                               >
  cron.service                                                                                      loaded active running Regular background program processing daemon      >
  dbus.service                                                                                      loaded active running D-Bus System Message Bus                          >
  fwupd.service                                                                                     loaded active running Firmware update daemon                            >
  getty@tty1.service                                                                                loaded active running Getty on tty1                                     >
  irqbalance.service                                                                                loaded active running irqbalance daemon                                 >
  ModemManager.service                                                                              loaded active running Modem Manager                                     >
  multipathd.service                                                                                loaded active running Device-Mapper Multipath Device Controller         >
  mysql.service                                                                                     loaded active running MySQL Community Server                            >
  networkd-dispatcher.service                                                                       loaded active running Dispatcher daemon for systemd-networkd            >
  NetworkManager.service                                                                            loaded active running Network Manager                                   >
  open-vm-tools.service                                                                             loaded active running Service for virtual machines hosted on VMware     >
  polkit.service                                                                                    loaded active running Authorization Manager                             >
  rsyslog.service                                                                                   loaded active running System Logging Service                            >
  snapd.service                                                                                     loaded active running Snap Daemon                                       >
  ssh.service                                                                                       loaded active running OpenBSD Secure Shell server                       >
  systemd-journald.service                                                                          loaded active running Journal Service                                   >
  systemd-logind.service                                                                            loaded active running Login Service                                     >
  systemd-networkd.service                                                                          loaded active running Network Service                                   >
  systemd-resolved.service                                                                          loaded active running Network Name Resolution                           >
  systemd-timedated.service                                                                         loaded active running Time & Date Service                               >
  systemd-timesyncd.service                                                                         loaded active running Network Time Synchronization                      >
  systemd-udevd.service                                                                             loaded active running udev Kernel Device Manager                        >
  udisks2.service                                                                                   loaded active running Disk Manager                                      >
  unattended-upgrades.service                                                                       loaded active running Unattended Upgrades Shutdown                      >
  upower.service                                                                                    loaded active running Daemon for power management                       >
  user@1000.service                                                                                 loaded active running User Manager for UID 1000                         >
  vgauth.service                                                                                    loaded active running Authentication service for virtual machines hosted>
  wpa_supplicant.service                                                                            loaded active running WPA supplicant                                    >
  cockpit-wsinstance-https@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.socket  loaded active running Socket for Cockpit Web Service https instance e3b0>
  cockpit.socket                                                                                    loaded active running Cockpit Web Service Socket                        >
  dbus.socket                                                                                       loaded active running D-Bus System Message Bus Socket                   >
  multipathd.socket                                                                                 loaded active running multipathd control socket                         >
  snapd.socket                                                                                      loaded active running Socket activation for snappy daemon               >
  syslog.socket                                                                                     loaded active running Syslog Socket                                     >
  systemd-journald-audit.socket                                                                     loaded active running Journal Audit Socket                              >
  systemd-journald-dev-log.socket                                                                   loaded active running Journal Socket (/dev/log)                         >
  systemd-journald.socket                                                                           loaded active running Journal Socket                                    >
  systemd-networkd.socket                                                                           loaded active running Network Service Netlink Socket                    >
  systemd-udevd-control.socket                                                                      loaded active running udev Control Socket                               >
  systemd-udevd-kernel.socket                                                                       loaded active running udev Kernel Socket                                >
 
LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
 
48 loaded units listed.

Sudo Version


james@blaze:~$ sudo --version
Sudo version 1.8.31
Sudoers policy plugin version 1.8.31
Sudoers file grammar version 46
Sudoers I/O plugin version 1.8.31

Sudo version 1.8.31

Glibc Version


james@blaze:~$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31