System/Kernel
tomcat@tabby:/var/lib/tomcat9$ file /bin/bash ; uname -a ; cat /etc/*release
/bin/bash: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=a43fec47192ff49c2d3fed671f2be8df7e83784a, for GNU/Linux 3.2.0, stripped
linux tabby 5.4.0-31-generic #35-ubuntu smp thu may 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 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
Ubuntu 20.04 LTS (Focal Fossa)
5.4.0-31-generic
x86_64
Networks
tomcat@tabby:/var/lib/tomcat9$ arp -a ; netstat -antup4
? (10.10.10.2) at 00:50:56:b9:d7:84 [ether] on ens160
(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 0.0.0.0:8080 0.0.0.0:* LISTEN 988/java
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
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 339 10.10.10.194:49992 10.10.16.5:9999 ESTABLISHED 988/java
udp 0 0 10.10.10.194:44743 1.1.1.1:53 ESTABLISHED -
udp 0 0 10.10.10.194:59397 1.1.1.1:53 ESTABLISHED -
udp 0 0 10.10.10.194:52274 1.1.1.1:53 ESTABLISHED -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 127.0.0.1:41161 127.0.0.53:53 ESTABLISHED -
Users & Groups
tomcat@tabby:/var/lib/tomcat9$ 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
sshd:x:111: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
tomcat:x:997:997::/opt/tomcat:/bin/false
mysql:x:112:120:MySQL Server,,,:/nonexistent:/bin/false
ash:x:1000:1000:clive:/home/ash:/bin/bash
total 12K
4.0K drwxr-xr-x 20 root root 4.0K Sep 7 2021 ..
4.0K drwxr-x--- 3 ash ash 4.0K Aug 19 2021 ash
4.0K drwxr-xr-x 3 root root 4.0K Aug 19 2021 .
ash
tomcat@tabby:/var/lib/tomcat9$ 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)
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(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=997(tomcat) gid=997(tomcat) groups=997(tomcat)
uid=112(mysql) gid=120(mysql) groups=120(mysql)
uid=1000(ash) gid=1000(ash) groups=1000(ash),4(adm),24(cdrom),30(dip),46(plugdev),116(lxd)
uid=997(tomcat) gid=997(tomcat) groups=997(tomcat)
uid=1000(ash) gid=1000(ash) groups=1000(ash),4(adm),24(cdrom),30(dip),46(plugdev),116(lxd)
SUIDs
tomcat@tabby:/var/lib/tomcat9$ find / -perm -04000 -ls -type f 2>/dev/null
128 109 -rwsr-xr-x 1 root root 111080 Aug 10 2021 /snap/snapd/12883/usr/lib/snapd/snap-confine
130 109 -rwsr-xr-x 1 root root 110792 Apr 10 2020 /snap/snapd/7264/usr/lib/snapd/snap-confine
56 43 -rwsr-xr-x 1 root root 43088 Sep 16 2020 /snap/core18/2128/bin/mount
65 63 -rwsr-xr-x 1 root root 64424 Jun 28 2019 /snap/core18/2128/bin/ping
81 44 -rwsr-xr-x 1 root root 44664 Mar 22 2019 /snap/core18/2128/bin/su
99 27 -rwsr-xr-x 1 root root 26696 Sep 16 2020 /snap/core18/2128/bin/umount
1710 75 -rwsr-xr-x 1 root root 76496 Mar 22 2019 /snap/core18/2128/usr/bin/chfn
1712 44 -rwsr-xr-x 1 root root 44528 Mar 22 2019 /snap/core18/2128/usr/bin/chsh
1765 75 -rwsr-xr-x 1 root root 75824 Mar 22 2019 /snap/core18/2128/usr/bin/gpasswd
1829 40 -rwsr-xr-x 1 root root 40344 Mar 22 2019 /snap/core18/2128/usr/bin/newgrp
1842 59 -rwsr-xr-x 1 root root 59640 Mar 22 2019 /snap/core18/2128/usr/bin/passwd
1933 146 -rwsr-xr-x 1 root root 149080 Jan 19 2021 /snap/core18/2128/usr/bin/sudo
2020 42 -rwsr-xr-- 1 root systemd-resolve 42992 Jun 11 2020 /snap/core18/2128/usr/lib/dbus-1.0/dbus-daemon-launch-helper
2330 427 -rwsr-xr-x 1 root root 436552 Mar 4 2019 /snap/core18/2128/usr/lib/openssh/ssh-keysign
55 43 -rwsr-xr-x 1 root root 43088 Jan 8 2020 /snap/core18/1705/bin/mount
64 63 -rwsr-xr-x 1 root root 64424 Jun 28 2019 /snap/core18/1705/bin/ping
80 44 -rwsr-xr-x 1 root root 44664 Mar 22 2019 /snap/core18/1705/bin/su
98 27 -rwsr-xr-x 1 root root 26696 Jan 8 2020 /snap/core18/1705/bin/umount
1731 75 -rwsr-xr-x 1 root root 76496 Mar 22 2019 /snap/core18/1705/usr/bin/chfn
1733 44 -rwsr-xr-x 1 root root 44528 Mar 22 2019 /snap/core18/1705/usr/bin/chsh
1784 75 -rwsr-xr-x 1 root root 75824 Mar 22 2019 /snap/core18/1705/usr/bin/gpasswd
1848 40 -rwsr-xr-x 1 root root 40344 Mar 22 2019 /snap/core18/1705/usr/bin/newgrp
1860 59 -rwsr-xr-x 1 root root 59640 Mar 22 2019 /snap/core18/1705/usr/bin/passwd
1951 146 -rwsr-xr-x 1 root root 149080 Jan 31 2020 /snap/core18/1705/usr/bin/sudo
2038 42 -rwsr-xr-- 1 root systemd-resolve 42992 Jun 10 2019 /snap/core18/1705/usr/lib/dbus-1.0/dbus-daemon-launch-helper
2346 427 -rwsr-xr-x 1 root root 436552 Mar 4 2019 /snap/core18/1705/usr/lib/openssh/ssh-keysign
802 84 -rwsr-xr-x 1 root root 85064 May 28 2020 /snap/core20/1081/usr/bin/chfn
808 52 -rwsr-xr-x 1 root root 53040 May 28 2020 /snap/core20/1081/usr/bin/chsh
877 87 -rwsr-xr-x 1 root root 88464 May 28 2020 /snap/core20/1081/usr/bin/gpasswd
961 55 -rwsr-xr-x 1 root root 55528 Jul 21 2020 /snap/core20/1081/usr/bin/mount
970 44 -rwsr-xr-x 1 root root 44784 May 28 2020 /snap/core20/1081/usr/bin/newgrp
983 67 -rwsr-xr-x 1 root root 68208 May 28 2020 /snap/core20/1081/usr/bin/passwd
1092 67 -rwsr-xr-x 1 root root 67816 Jul 21 2020 /snap/core20/1081/usr/bin/su
1093 163 -rwsr-xr-x 1 root root 166056 Jan 19 2021 /snap/core20/1081/usr/bin/sudo
1151 39 -rwsr-xr-x 1 root root 39144 Jul 21 2020 /snap/core20/1081/usr/bin/umount
1237 51 -rwsr-xr-- 1 root systemd-resolve 51344 Jun 11 2020 /snap/core20/1081/usr/lib/dbus-1.0/dbus-daemon-launch-helper
1609 463 -rwsr-xr-x 1 root root 473576 Mar 9 2021 /snap/core20/1081/usr/lib/openssh/ssh-keysign
133326 32 -rwsr-xr-x 1 root root 31032 Aug 16 2019 /usr/bin/pkexec
133258 56 -rwsr-xr-x 1 root root 55528 Apr 2 2020 /usr/bin/mount
132927 56 -rwsr-sr-x 1 daemon daemon 55560 Nov 12 2018 /usr/bin/at
133305 68 -rwsr-xr-x 1 root root 68208 Apr 16 2020 /usr/bin/passwd
133001 52 -rwsr-xr-x 1 root root 53040 Apr 16 2020 /usr/bin/chsh
133527 68 -rwsr-xr-x 1 root root 67816 Apr 2 2020 /usr/bin/su
132995 84 -rwsr-xr-x 1 root root 85064 Apr 16 2020 /usr/bin/chfn
133272 44 -rwsr-xr-x 1 root root 44784 Apr 16 2020 /usr/bin/newgrp
133597 40 -rwsr-xr-x 1 root root 39144 Apr 2 2020 /usr/bin/umount
133124 88 -rwsr-xr-x 1 root root 88464 Apr 16 2020 /usr/bin/gpasswd
133106 40 -rwsr-xr-x 1 root root 39144 Mar 7 2020 /usr/bin/fusermount
131450 164 -rwsr-xr-x 1 root root 166056 Jan 19 2021 /usr/bin/sudo
133811 16 -rwsr-xr-x 1 root root 14488 Jul 8 2019 /usr/lib/eject/dmcrypt-get-device
134026 24 -rwsr-xr-x 1 root root 22840 Aug 16 2019 /usr/lib/policykit-1/polkit-agent-helper-1
137758 128 -rwsr-xr-x 1 root root 130120 Apr 10 2020 /usr/lib/snapd/snap-confine
134016 464 -rwsr-xr-x 1 root root 473576 Feb 26 2020 /usr/lib/openssh/ssh-keysign
133804 52 -rwsr-xr-- 1 root messagebus 51344 Dec 7 2019 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
/usr/bin/pkexec
SGIDs
tomcat@tabby:/var/lib/tomcat9$ find / -perm -02000 -ls -type f 2>/dev/null
1639 34 -rwxr-sr-x 1 root shadow 34816 Apr 8 2021 /snap/core18/2128/sbin/pam_extrausers_chkpwd
1668 34 -rwxr-sr-x 1 root shadow 34816 Apr 8 2021 /snap/core18/2128/sbin/unix_chkpwd
1705 71 -rwxr-sr-x 1 root shadow 71816 Mar 22 2019 /snap/core18/2128/usr/bin/chage
1750 23 -rwxr-sr-x 1 root shadow 22808 Mar 22 2019 /snap/core18/2128/usr/bin/expiry
1926 355 -rwxr-sr-x 1 root crontab 362640 Mar 4 2019 /snap/core18/2128/usr/bin/ssh-agent
1990 31 -rwxr-sr-x 1 root tty 30800 Sep 16 2020 /snap/core18/2128/usr/bin/wall
10795 0 drwxrwsr-x 2 root mail 3 Jul 22 2021 /snap/core18/2128/var/mail
1664 34 -rwxr-sr-x 1 root shadow 34816 Feb 27 2019 /snap/core18/1705/sbin/pam_extrausers_chkpwd
1693 34 -rwxr-sr-x 1 root shadow 34816 Feb 27 2019 /snap/core18/1705/sbin/unix_chkpwd
1726 71 -rwxr-sr-x 1 root shadow 71816 Mar 22 2019 /snap/core18/1705/usr/bin/chage
1771 23 -rwxr-sr-x 1 root shadow 22808 Mar 22 2019 /snap/core18/1705/usr/bin/expiry
1944 355 -rwxr-sr-x 1 root crontab 362640 Mar 4 2019 /snap/core18/1705/usr/bin/ssh-agent
2008 31 -rwxr-sr-x 1 root tty 30800 Jan 8 2020 /snap/core18/1705/usr/bin/wall
10757 0 drwxrwsr-x 2 root mail 3 Mar 11 2020 /snap/core18/1705/var/mail
797 83 -rwxr-sr-x 1 root shadow 84512 May 28 2020 /snap/core20/1081/usr/bin/chage
858 31 -rwxr-sr-x 1 root shadow 31312 May 28 2020 /snap/core20/1081/usr/bin/expiry
1084 343 -rwxr-sr-x 1 root crontab 350504 Mar 9 2021 /snap/core20/1081/usr/bin/ssh-agent
1170 35 -rwxr-sr-x 1 root tty 35048 Jul 21 2020 /snap/core20/1081/usr/bin/wall
7181 43 -rwxr-sr-x 1 root shadow 43168 Apr 8 2021 /snap/core20/1081/usr/sbin/pam_extrausers_chkpwd
7225 43 -rwxr-sr-x 1 root shadow 43160 Apr 8 2021 /snap/core20/1081/usr/sbin/unix_chkpwd
11712 0 drwxrwsr-x 2 root mail 3 Jul 2 2021 /snap/core20/1081/var/mail
8200 4 drwxrwsr-x 2 root mail 4096 Aug 19 2021 /var/mail
13020 4 drwxr-s--- 2 tomcat adm 4096 sep 23 08:19 /var/log/tomcat9
8888 4 drwxr-sr-x 3 root systemd-journal 4096 Aug 19 2021 /var/log/journal
1393 4 drwxr-sr-x 2 root systemd-journal 4096 sep 23 08:18 /var/log/journal/c72a21e67341466eacf74373cf80aca6
8198 4 drwxrwsr-x 2 root staff 4096 Aug 19 2021 /var/local
132990 84 -rwxr-sr-x 1 root shadow 84512 Apr 16 2020 /usr/bin/chage
132927 56 -rwsr-sr-x 1 daemon daemon 55560 Nov 12 2018 /usr/bin/at
133517 344 -rwxr-sr-x 1 root ssh 350504 Feb 26 2020 /usr/bin/ssh-agent
133639 36 -rwxr-sr-x 1 root tty 35048 Apr 2 2020 /usr/bin/wall
133088 32 -rwxr-sr-x 1 root shadow 31312 Apr 16 2020 /usr/bin/expiry
135620 48 -rwxr-sr-x 1 root mlocate 47344 Jul 16 2019 /usr/bin/mlocate
133025 44 -rwxr-sr-x 1 root crontab 43720 Feb 13 2020 /usr/bin/crontab
132940 16 -rwxr-sr-x 1 root tty 14488 Mar 30 2020 /usr/bin/bsd-write
138615 44 -rwxr-sr-x 1 root shadow 43160 Dec 17 2019 /usr/sbin/unix_chkpwd
138568 44 -rwxr-sr-x 1 root shadow 43168 Dec 17 2019 /usr/sbin/pam_extrausers_chkpwd
276285 4 drwxrwsr-x 2 root staff 4096 May 19 2020 /usr/local/share/fonts
138201 4 drwxrwsr-x 3 root staff 4096 Apr 23 2020 /usr/local/lib/python3.8
138202 4 drwxrwsr-x 2 root staff 4096 Apr 23 2020 /usr/local/lib/python3.8/dist-packages
267722 16 -rwxr-sr-x 1 root utmp 14648 Sep 30 2019 /usr/lib/x86_64-linux-gnu/utempter/utempter
350 0 drwxr-sr-x 2 root systemd-journal 40 sep 23 08:18 /run/log/journal
Processes
tomcat@tabby:/var/lib/tomcat9$ ps -auxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 169392 11520 ? Ss 08:18 0:02 /sbin/init maybe-ubiquity
root 510 0.0 1.3 59820 26676 ? S<s 08:18 0:04 /lib/systemd/systemd-journald
root 538 0.0 0.2 21352 5440 ? Ss 08:18 0:01 /lib/systemd/systemd-udevd
root 679 0.0 0.9 411432 18380 ? SLsl 08:18 0:05 /sbin/multipathd -d -s
systemd+ 711 0.0 0.6 24312 13372 ? Ss 08:18 0:01 /lib/systemd/systemd-resolved
systemd+ 712 0.0 0.3 90388 6356 ? Ssl 08:18 0:01 /lib/systemd/systemd-timesyncd
root 724 0.0 0.5 47524 10316 ? Ss 08:18 0:00 /usr/bin/VGAuthService
root 725 0.1 0.3 161976 7772 ? S<sl 08:18 0:11 /usr/bin/vmtoolsd
root 853 0.0 0.3 235548 7324 ? Ssl 08:18 0:00 /usr/lib/accountsservice/accounts-daemon
message+ 854 0.0 0.1 7372 3808 ? Ss 08:18 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 860 0.0 0.1 81944 3812 ? Ssl 08:18 0:00 /usr/sbin/irqbalance --foreground
syslog 862 0.0 0.2 224324 4772 ? Ssl 08:18 0:00 /usr/sbin/rsyslogd -n -iNONE
root 863 0.0 1.5 925176 31092 ? Ssl 08:18 0:03 /usr/lib/snapd/snapd
root 864 0.0 0.2 16632 5864 ? Ss 08:18 0:00 /lib/systemd/systemd-logind
root 913 0.0 0.3 232700 6788 ? Ssl 08:18 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 958 0.0 0.1 6812 2884 ? Ss 08:18 0:00 /usr/sbin/cron -f
daemon 977 0.0 0.1 3792 2240 ? Ss 08:18 0:00 /usr/sbin/atd -f
tomcat 988 0.5 24.5 3096632 499096 ? Ssl 08:18 0:59 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
root 989 0.0 0.3 12160 7264 ? Ss 08:18 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
root 994 0.0 0.8 193420 17212 ? Ss 08:18 0:02 /usr/sbin/apache2 -k start
root 1011 0.0 0.0 5828 1776 tty1 Ss+ 08:18 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
www-data 5364 0.0 0.6 193856 12600 ? S 10:00 0:00 /usr/sbin/apache2 -k start
tomcat 7245 0.0 0.0 2608 604 ? S 11:00 0:00 /bin/sh
tomcat 7312 0.0 0.4 15836 9900 ? S 11:03 0:00 python3 -c import pty; pty.spawn("/bin/bash")
tomcat 7313 0.0 0.2 8304 5208 pts/0 Ss 11:03 0:00 /bin/bash
tomcat 7487 0.0 0.1 9060 3492 pts/0 R+ 11:07 0:00 ps -auxwww
/usr/lib/policykit-1/polkitd --no-debug
/usr/sbin/cron -f
Cron & Systemd
tomcat@tabby:/var/lib/tomcat9$ crontab -l ; cat /etc/crontab ; systemctl list-timers
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
# /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 >
sat 2023-09-23 11:09:00 UTC 21s left Sat 2023-09-23 10:39:02 UTC 29min ag>
sat 2023-09-23 16:23:09 UTC 5h 14min left Sat 2023-09-23 11:07:34 UTC 1min 3s >
sat 2023-09-23 17:12:45 UTC 6h left Tue 2020-06-16 21:11:18 UTC 3 years >
sun 2023-09-24 00:00:00 UTC 12h left Sat 2023-09-23 08:18:49 UTC 2h 49min>
sun 2023-09-24 00:00:00 UTC 12h left Sat 2023-09-23 08:18:49 UTC 2h 49min>
sun 2023-09-24 03:00:15 UTC 15h left Sat 2023-09-23 09:51:44 UTC 1h 16min>
sun 2023-09-24 03:10:51 UTC 16h left Sat 2023-09-23 08:18:54 UTC 2h 49min>
sun 2023-09-24 06:43:46 UTC 19h left Sat 2023-09-23 09:15:22 UTC 1h 53min>
sun 2023-09-24 08:33:40 UTC 21h left Sat 2023-09-23 08:33:40 UTC 2h 34min>
mon 2023-09-25 00:00:00 UTC 1 day 12h left Sat 2023-09-23 08:18:49 UTC 2h 49min>
10 timers listed.
Pass --all to see loaded but inactive timers, too.
lines 1-14/14 (END)
Sudo Version
tomcat@tabby:/var/lib/tomcat9$ 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
tomcat@tabby:/var/lib/tomcat9$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9) 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) 2.31