System/Kernel


Initial Foothold was established as both git and marcot users

git@onlyrands:~$ uname -a ; cat /etc/*release
Linux onlyrands.com 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 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-182-generic
  • x86_64
  • Ubuntu 20.04.6 LTS (Focal Fossa)

Networks


git@onlyrands:~$ ip route ; arp -a
default via 192.168.219.254 dev ens160 proto static 
192.168.219.0/24 dev ens160 proto kernel scope link src 192.168.219.91 
_gateway (192.168.219.254) at 00:50:56:9e:8d:f2 [ether] on ens160
git@onlyrands:~$ netstat -antup | grep LIST
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:40691           0.0.0.0:*               LISTEN      1785/java           
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      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:8105          0.0.0.0:*               LISTEN      1192/java           
tcp        0      0 127.0.0.1:57743         0.0.0.0:*               LISTEN      1785/java           
tcp        0      0 0.0.0.0:8111            0.0.0.0:*               LISTEN      1192/java           
  • tcp 0 0 0.0.0.0:40691 0.0.0.0:* LISTEN 1785/java
  • tcp 0 0 127.0.0.1:8105 0.0.0.0:* LISTEN 1192/java
  • tcp 0 0 127.0.0.1:57743 0.0.0.0:* LISTEN 1785/java
  • tcp 0 0 0.0.0.0:8111 0.0.0.0:* LISTEN 1192/java

Users & Groups


git@onlyrands:~$ 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
offsec:x:1000:1000:,,,:/home/offsec:/bin/bash
fwupd-refresh:x:113:117:fwupd-refresh user,,,:/run/systemd:/usr/sbin/nologin
postfix:x:114:119::/var/spool/postfix:/usr/sbin/nologin
edgarm:x:1001:1001:Edgar Macejkovic,,,:/home/administration/edgarm:/bin/bash
sonjas:x:1002:1001:Sonja Stamm,,,:/home/administration/sonjas:/bin/bash
briand:x:1003:1001:Brian Dach,,,:/home/administration/briand:/bin/bash
bobbyp:x:1004:1002:Bobby Pfannerstill,,,:/home/operations/bobbyp:/usr/bin/bash
danab:x:1005:1002:Dana Boyer,,,:/home/operations/danab:/usr/sbin/nologin
susanw:x:1006:1002:Susan Ward,,,:/home/operations/susanw:/usr/bin/bash
dont:x:1007:1003:Don Tremblay,,,:/home/finance/dont:/usr/bin/bash
renep:x:1008:1003:Rene Price,,,:/home/finance/renep:/usr/sbin/nologin
juliuso:x:1009:1003:Julius Olson-Rogahn,,,:/home/finance/juliuso:/usr/bin/bash
matthewa:x:1010:1004:Matthew Armstrong,,,:/home/freelancers/matthewa:/usr/bin/bash
patriciam:x:1011:1004:Patricia Morissette,,,:/home/freelancers/patriciam:/usr/bin/bash
marcot:x:1012:1004:Marco Tillman,,,:/home/freelancers/marcot:/usr/bin/bash
kathleenw:x:1013:1004:Kathleen Wisoky,,,:/home/freelancers/kathleenw:/usr/bin/bash
williamw:x:1014:1004:William Walter,,,:/home/freelancers/williamw:/usr/bin/bash
git:x:1015:1005:Git Server,,,:/srv/git:/bin/bash
total 36
drwxr-xr-x   6 root root 4096 Jun  7  2024 ./
drwxr-xr-x  18 root root 4096 Jun  7  2024 ../
drwxr-xr-x   5 root root 4096 Jun  7  2024 administration/
drwxrwxr-x+  5 root root 4096 Jun  7  2024 finance/
drwxrwxr-x+  7 root root 4096 Jun  7  2024 freelancers/
drwxrwxr-x+  4 root root 4096 Jun  7  2024 operations/
  • offsec
  • edgarm
  • sonjas
  • briand
  • bobbyp
  • danab
  • susanw
  • dont
  • renep
  • juliuso
  • matthewa
  • patriciam
  • marcot
  • kathleenw
  • williamw
  • administration
  • finance
  • freelancers
  • operations
git@onlyrands:~$ 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=1000(offsec) gid=1000(offsec) groups=1000(offsec)
uid=113(fwupd-refresh) gid=117(fwupd-refresh) groups=117(fwupd-refresh)
uid=114(postfix) gid=119(postfix) groups=119(postfix)
uid=1001(edgarm) gid=1001(administration) groups=1001(administration)
uid=1002(sonjas) gid=1001(administration) groups=1001(administration)
uid=1003(briand) gid=1001(administration) groups=1001(administration)
uid=1004(bobbyp) gid=1002(operations) groups=1002(operations)
uid=1005(danab) gid=1002(operations) groups=1002(operations)
uid=1006(susanw) gid=1002(operations) groups=1002(operations)
uid=1007(dont) gid=1003(finance) groups=1003(finance)
uid=1008(renep) gid=1003(finance) groups=1003(finance)
uid=1009(juliuso) gid=1003(finance) groups=1003(finance)
uid=1010(matthewa) gid=1004(freelancers) groups=1004(freelancers)
uid=1011(patriciam) gid=1004(freelancers) groups=1004(freelancers)
uid=1012(marcot) gid=1004(freelancers) groups=1004(freelancers)
uid=1013(kathleenw) gid=1004(freelancers) groups=1004(freelancers)
uid=1014(williamw) gid=1004(freelancers) groups=1004(freelancers)
uid=1015(git) gid=1005(git) groups=1005(git)
  • uid=1001(edgarm) gid=1001(administration) groups=1001(administration)
  • uid=1002(sonjas) gid=1001(administration) groups=1001(administration)
  • uid=1003(briand) gid=1001(administration) groups=1001(administration)
  • uid=1004(bobbyp) gid=1002(operations) groups=1002(operations)
  • uid=1005(danab) gid=1002(operations) groups=1002(operations)
  • uid=1006(susanw) gid=1002(operations) groups=1002(operations)
  • uid=1007(dont) gid=1003(finance) groups=1003(finance)
  • uid=1008(renep) gid=1003(finance) groups=1003(finance)
  • uid=1009(juliuso) gid=1003(finance) groups=1003(finance)
  • uid=1010(matthewa) gid=1004(freelancers) groups=1004(freelancers)
  • uid=1011(patriciam) gid=1004(freelancers) groups=1004(freelancers)
  • uid=1012(marcot) gid=1004(freelancers) groups=1004(freelancers)
  • uid=1013(kathleenw) gid=1004(freelancers) groups=1004(freelancers)
  • uid=1014(williamw) gid=1004(freelancers) groups=1004(freelancers)
  • uid=1015(git) gid=1005(git) groups=1005(git)

SUIDs


git@onlyrands:~$ find / -perm -04000 -ls -type f 2>/dev/null | grep -v '/snap'
      672     40 -rwsr-xr-x   1 root     root        39144 Mar  7  2020 /usr/bin/fusermount
     1354    164 -rwsr-xr-x   1 root     root       166056 Apr  4  2023 /usr/bin/sudo
    10752     68 -rwsr-xr-x   1 root     root        67816 Apr  9  2024 /usr/bin/su
      502     40 -rwsr-xr-x   1 root     root        39144 Apr  9  2024 /usr/bin/umount
     1966     68 -rwsr-xr-x   1 root     root        68208 Feb  6  2024 /usr/bin/passwd
     1958     52 -rwsr-xr-x   1 root     root        53040 Feb  6  2024 /usr/bin/chsh
     1955     84 -rwsr-xr-x   1 root     root        85064 Feb  6  2024 /usr/bin/chfn
      491     56 -rwsr-sr-x   1 daemon   daemon      55560 Nov 12  2018 /usr/bin/at
      482     56 -rwsr-xr-x   1 root     root        55528 Apr  9  2024 /usr/bin/mount
    12229     44 -rwsr-xr-x   1 root     root        44784 Feb  6  2024 /usr/bin/newgrp
     1963     88 -rwsr-xr-x   1 root     root        88464 Feb  6  2024 /usr/bin/gpasswd
     2539     32 -rwsr-xr-x   1 root     root        31032 Feb 21  2022 /usr/bin/pkexec
    11635     52 -rwsr-xr--   1 root     messagebus    51344 Oct 25  2022 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
     8437    468 -rwsr-xr-x   1 root     root         477672 Jan  2  2024 /usr/lib/openssh/ssh-keysign
     1383     16 -rwsr-xr-x   1 root     root          14488 Jul  8  2019 /usr/lib/eject/dmcrypt-get-device
     2541     24 -rwsr-xr-x   1 root     root          22840 Feb 21  2022 /usr/lib/policykit-1/polkit-agent-helper-1

SGIDs


git@onlyrands:~$ find / -perm -02000 -ls -type f 2>/dev/null | grep -v '/snap'
    12710      4 drwxr-sr-x   3 root     systemd-journal     4096 Jun 15  2022 /var/log/journal
   408490      4 drwxr-sr-x   2 root     systemd-journal     4096 Apr  7 19:55 /var/log/journal/649d08f7c59f4ad3bbf4a2220b5ff29a
     7727      4 drwx--s---   2 postfix  postdrop            4096 Aug  5  2024 /var/spool/postfix/public
    12344      4 drwxrwsr-x   2 root     staff               4096 Apr 15  2020 /var/local
    12346      4 drwxrwsr-x   2 root     mail                4096 Jun  7  2024 /var/mail
      352      0 drwxr-sr-x   2 root     systemd-journal       40 Aug  5  2024 /run/log/journal
     3807     24 -r-xr-sr-x   1 root     postdrop           22808 Jan 29  2024 /usr/sbin/postdrop
     3961     24 -r-xr-sr-x   1 root     postdrop           22760 Jan 29  2024 /usr/sbin/postqueue
     1542     44 -rwxr-sr-x   1 root     shadow             43160 Jan 10  2024 /usr/sbin/unix_chkpwd
      989     44 -rwxr-sr-x   1 root     shadow             43168 Jan 10  2024 /usr/sbin/pam_extrausers_chkpwd
    13708      4 drwxrwsr-x   2 root     staff               4096 Jun  7  2024 /usr/local/share/fonts
     8907      4 drwxrwsr-x   3 root     staff               4096 Feb 23  2022 /usr/local/lib/python3.8
     8908      4 drwxrwsr-x   2 root     staff               4096 Feb 23  2022 /usr/local/lib/python3.8/dist-packages
      504     16 -rwxr-sr-x   1 root     tty                14488 Mar 30  2020 /usr/bin/bsd-write
      589     44 -rwxr-sr-x   1 root     crontab            43720 Feb 13  2020 /usr/bin/crontab
     1960     32 -rwxr-sr-x   1 root     shadow             31312 Feb  6  2024 /usr/bin/expiry
     1954     84 -rwxr-sr-x   1 root     shadow             84512 Feb  6  2024 /usr/bin/chage
     4375     24 -rwxr-sr-x   1 root     mail               22680 Oct 11  2019 /usr/bin/dotlockfile
      491     56 -rwsr-sr-x   1 daemon   daemon             55560 Nov 12  2018 /usr/bin/at
     8221    344 -rwxr-sr-x   1 root     ssh               350504 Jan  2  2024 /usr/bin/ssh-agent
   134618     16 -rwxr-sr-x   1 root     utmp               14648 Sep 30  2019 /usr/lib/x86_64-linux-gnu/utempter/utempter

Capabilities


git@onlyrands:~$ getcap -r / 2>/dev/null
/usr/bin/mtr-packet = cap_net_raw+ep
/usr/bin/ping = cap_net_raw+ep
/usr/bin/traceroute6.iputils = 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

Processes


git@onlyrands:~$ ps -auxwww
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.2  0.4 103560  9492 ?        Ss   19:34   0:16 /sbin/init maybe-ubiquity
root         486  0.3 14.3 518544 289696 ?       S<s  19:34   0:25 /lib/systemd/systemd-journald
root         521  0.0  0.2  22640  4612 ?        Ss   19:34   0:00 /lib/systemd/systemd-udevd
root         652  0.0  0.9 345880 18272 ?        SLsl 19:34   0:01 /sbin/multipathd -d -s
root         688  0.0  0.0   2488   576 ?        S    19:34   0:00 bpfilter_umh
root         698  0.0  0.3  47548  6200 ?        Ss   19:34   0:00 /usr/bin/VGAuthService
root         699  0.0  0.3 311552  6096 ?        Ssl  19:34   0:03 /usr/bin/vmtoolsd
systemd+     753  0.0  0.2  19180  5488 ?        Ss   19:34   0:00 /lib/systemd/systemd-networkd
systemd+     755  0.2  0.4  24688  8236 ?        Ss   19:34   0:17 /lib/systemd/systemd-resolved
root         765  0.0  0.2 235708  5296 ?        Ssl  19:34   0:01 /usr/lib/accountsservice/accounts-daemon
message+     769  0.0  0.2   7588  4544 ?        Ss   19:34   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root         773  0.0  0.1  81960  3372 ?        Ssl  19:34   0:00 /usr/sbin/irqbalance --foreground
root         775  0.0  0.6  29648 13060 ?        Ss   19:34   0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root         781  0.0  0.1   6816  2704 ?        Ss   19:34   0:00 /usr/sbin/cron -f
root         782  0.0  0.2 232732  4872 ?        Ssl  19:34   0:00 /usr/lib/policykit-1/polkitd --no-debug
syslog       784  0.1  0.2 224316  4936 ?        Ssl  19:34   0:10 /usr/sbin/rsyslogd -n -iNONE
root         790  0.0  0.3  17316  6476 ?        Ss   19:34   0:00 /lib/systemd/systemd-logind
root         793  0.0  0.3 393260  7236 ?        Ssl  19:34   0:00 /usr/lib/udisks2/udisksd
daemon       811  0.0  0.1   3796  2084 ?        Ss   19:34   0:00 /usr/sbin/atd -f
root         827  0.0  0.0  51212   824 ?        Ss   19:34   0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
www-data     828  0.0  0.2  52660  4628 ?        S    19:34   0:00 nginx: worker process
www-data     829  0.0  0.2  52664  4764 ?        S    19:34   0:00 nginx: worker process
root         833  0.0  0.2  12188  5124 ?        Ss   19:34   0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
git          852  0.0  0.0   2608  1528 ?        S    19:34   0:00 sh teamcity-server.sh _start_internal
git          863  0.0  0.0   2736  1620 ?        S    19:34   0:00 sh /srv/git/software/TeamCity/bin/teamcity-server-restarter.sh run
root         866  0.0  0.3 315112  6256 ?        Ssl  19:34   0:00 /usr/sbin/ModemManager
root         884  0.0  0.6 107916 12280 ?        Ssl  19:34   0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root         893  0.0  0.0   5828  1796 tty1     Ss+  19:34   0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
git         1192  3.7 46.0 4417568 928852 ?      Sl   19:34   4:30 /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Djava.util.logging.config.file=/srv/git/software/TeamCity/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -server -Xmx1024m -Dteamcity.configuration.path=../conf/teamcity-startup.properties -Dlog4j2.configurationFile=file:/srv/git/software/TeamCity/bin/../conf/teamcity-server-log4j.xml -Dteamcity_logs=/srv/git/software/TeamCity/bin/../logs -Djava.awt.headless=true -Dignore.endorsed.dirs= -classpath /srv/git/software/TeamCity/bin/bootstrap.jar:/srv/git/software/TeamCity/bin/tomcat-juli.jar -Dcatalina.base=/srv/git/software/TeamCity -Dcatalina.home=/srv/git/software/TeamCity -Djava.io.tmpdir=/srv/git/software/TeamCity/temp org.apache.catalina.startup.Bootstrap start
root        1649  0.1  0.1  38068  3464 ?        Ss   19:34   0:07 /usr/lib/postfix/sbin/master -w
postfix     1653  0.0  0.2  38388  4408 ?        S    19:34   0:00 qmgr -l -t unix -u
git         1785  0.0  3.3 3617852 67188 ?       Sl   19:35   0:04 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -DTCSubProcessName=TeamCityMavenServer -classpath /srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-component-annotations-2.1.0.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-utils-3.3.1.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-builder-support-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/async-trigger.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/commons-io-2.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-cipher-2.0.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-sec-dispatcher-2.0.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-core-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-embedder-api.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/wagon-http-3.5.1-shaded.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-provider-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/javax.inject-1.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-embedder3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/wagon-file-3.5.1.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-shared-utils-3.3.4.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/commons-lang3-3.8.1.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-api-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-compat-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-impl-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/commons-cli-1.4.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-plugin-api-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-artifact-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-repository-metadata-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-connector-basic-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-model-builder-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/slf4j-api-1.7.36.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-util-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-interpolation-1.26.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-embedder-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-slf4j-provider-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-spi-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-model-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/org.eclipse.sisu.plexus-0.3.5.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/plexus-classworlds-2.6.0.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/guice-4.2.2-no_aop.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/jansi-2.4.0.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/org.eclipse.sisu.inject-0.3.5.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/wagon-provider-api-3.5.1.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/jcl-over-slf4j-1.7.36.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/guava-25.1-android.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-resolver-transport-wagon-1.6.3.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-settings-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-settings-builder-3.8.6.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-common.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/javax.annotation-api-1.2.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/maven-runner-server.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/lib/log4j-1.2-api-2.17.2.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/plugins/Maven2/server/slf4j-api-1.7.36.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/lib/log4j-api-2.17.2.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/lib/log4j-core-2.17.2.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/lib/common-api.jar:/srv/git/software/TeamCity/webapps/ROOT/WEB-INF/lib/openapi.jar -Dlogs.dir=/srv/git/software/TeamCity/logs -Xmx1G jetbrains.buildServer.maven.remote.MavenServerImpl teamcity-mavenServer
root        2124  0.0  0.7 389532 15624 ?        Ssl  19:36   0:00 /usr/libexec/fwupd/fwupd
root        2135  0.0  0.3 314936  6084 ?        Ssl  19:36   0:00 /usr/lib/upower/upowerd
postfix     2414  0.0  0.2  42140  5916 ?        S    19:36   0:00 tlsmgr -l -t unix -u -c
root        5617  0.0  0.4  13672  8460 ?        Ss   20:06   0:00 sshd: git [priv]
git         5634  0.0  0.4  19064  8840 ?        Ss   20:06   0:00 /lib/systemd/systemd --user
git         5637  0.0  0.1 104776  3820 ?        S    20:06   0:00 (sd-pam)
git         5763  0.0  0.2  13680  5588 ?        S    20:06   0:00 sshd: git@pts/0
git         5765  0.0  0.2   8272  5168 pts/0    Ss   20:06   0:00 -bash
postfix     8693  0.0  0.2  38336  5764 ?        S    21:16   0:00 pickup -l -t unix -u -c
git         9523  0.0  0.1   9080  3464 pts/0    R+   21:34   0:00 ps -auxwww
  • root 781 0.0 0.1 6816 2704 ? Ss 19:34 0:00 /usr/sbin/cron -f
  • git 852 0.0 0.0 2608 1528 ? S 19:34 0:00 sh teamcity-server.sh _start_internal
  • git 863 0.0 0.0 2736 1620 ? S 19:34 0:00 sh /srv/git/software/TeamCity/bin/teamcity-server-restarter.sh run

Cron & Systemd


git@onlyrands:~$ crontab -l ; cat /etc/crontab ; systemctl list-timers
no crontab for git
# /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              >
Tue 2025-04-08 00:00:00 UTC 2h 23min left Mon 2025-04-07 19:36:45 UTC 1h 59min ago logrotate.timer              logrotate.service      >
Tue 2025-04-08 00:00:00 UTC 2h 23min left Mon 2025-04-07 19:36:45 UTC 1h 59min ago man-db.timer                 man-db.service         >
Tue 2025-04-08 06:16:08 UTC 8h left       Mon 2025-04-07 19:36:45 UTC 1h 59min ago apt-daily-upgrade.timer      apt-daily-upgrade.servi>
Tue 2025-04-08 06:55:32 UTC 9h left       Mon 2025-04-07 19:36:45 UTC 1h 59min ago motd-news.timer              motd-news.service      >
Tue 2025-04-08 13:12:44 UTC 15h left      Mon 2025-04-07 19:36:45 UTC 1h 59min ago fwupd-refresh.timer          fwupd-refresh.service  >
Tue 2025-04-08 13:57:46 UTC 16h left      Mon 2025-04-07 19:36:45 UTC 1h 59min ago apt-daily.timer              apt-daily.service      >
Tue 2025-04-08 19:49:34 UTC 22h left      Mon 2025-04-07 19:49:34 UTC 1h 46min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.>
Sun 2025-04-13 03:10:29 UTC 5 days left   Mon 2025-04-07 19:36:45 UTC 1h 59min ago e2scrub_all.timer            e2scrub_all.service    >
Mon 2025-04-14 00:00:00 UTC 6 days left   Mon 2025-04-07 19:36:45 UTC 1h 59min ago fstrim.timer                 fstrim.service         >
 
9 timers listed.
Pass --all to see loaded but inactive timers, too.

Services


git@onlyrands:~$ 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 Automount Point
  init.scope                        loaded active running System and Service Manager                                   
  session-1.scope                   loaded active running Session 1 of user git                                        
  accounts-daemon.service           loaded active running Accounts Service                                             
  atd.service                       loaded active running Deferred execution scheduler                                 
  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                    
  networkd-dispatcher.service       loaded active running Dispatcher daemon for systemd-networkd                       
  nginx.service                     loaded active running A high performance web server and a reverse proxy server     
  open-vm-tools.service             loaded active running Service for virtual machines hosted on VMware                
  polkit.service                    loaded active running Authorization Manager                                        
  postfix@-.service                 loaded active running Postfix Mail Transport Agent (instance -)                    
  rsyslog.service                   loaded active running System Logging Service                                       
  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-udevd.service             loaded active running udev Kernel Device Manager                                   
  teamcity-server.service           loaded active running TeamCity Server                                              
  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@1015.service                 loaded active running User Manager for UID 1015                                    
  vgauth.service                    loaded active running Authentication service for virtual machines hosted on VMware 
  dbus.socket                       loaded active running D-Bus System Message Bus Socket                              
  multipathd.socket                 loaded active running multipathd control socket                                    
  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.
 
39 loaded units listed.
  • nginx.service
  • postfix@-.service
  • teamcity-server.service

Sudo Version


git@onlyrands:~$ 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


git@onlyrands:~$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 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.16) 2.31