System/Kernel
mango@mango:~$ 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/l, for GNU/Linux 3.2.0, BuildID[sha1]=b636f50d85c3cca7cf2518030446660c1d90d660, stripped
linux mango 4.15.0-64-generic #73-ubuntu smp thu sep 12 13:16:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.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=bionic
UBUNTU_CODENAME=bionic
Ubuntu 18.04.2 LTS (Bionic Beaver)
4.15.0-64-generic
x86_64
Networks
mango@mango:~$ arp -a ; netstat -antup4
_gateway (10.10.10.2) at 00:50:56:b9:d7:84 [ether] on ens33
(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:27017 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 748 10.10.10.162:22 10.10.16.8:47952 ESTABLISHED -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
127.0.0.1:27017
Users & Groups
mango@mango:~$ 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/netif:/usr/sbin/nologin
systemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd/resolve:/usr/sbin/nologin
syslog:x:102:106::/home/syslog:/usr/sbin/nologin
messagebus:x:103:107::/nonexistent:/usr/sbin/nologin
_apt:x:104:65534::/nonexistent:/usr/sbin/nologin
lxd:x:105:65534::/var/lib/lxd/:/bin/false
uuidd:x:106:110::/run/uuidd:/usr/sbin/nologin
dnsmasq:x:107:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
landscape:x:108:112::/var/lib/landscape:/usr/sbin/nologin
pollinate:x:109:1::/var/cache/pollinate:/bin/false
sshd:x:110:65534::/run/sshd:/usr/sbin/nologin
mango:x:1000:1000:mango:/home/mango:/bin/bash
admin:x:4000000000:1001:,,,:/home/admin/:/bin/sh
mongodb:x:111:65534::/home/mongodb:/usr/sbin/nologin
total 16
drwxr-xr-x 4 root root 4096 Sep 27 2019 ./
drwxr-xr-x 23 root root 4096 Sep 27 2019 ../
drwxr-xr-x 2 admin admin 4096 Sep 30 2019 admin/
drwxr-xr-x 4 mango mango 4096 Sep 28 2019 mango/
admin
mongodb
mango@mango:~$ 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(syslog) gid=106(syslog) groups=106(syslog),4(adm)
uid=103(messagebus) gid=107(messagebus) groups=107(messagebus)
uid=104(_apt) gid=65534(nogroup) groups=65534(nogroup)
uid=105(lxd) gid=65534(nogroup) groups=65534(nogroup)
uid=106(uuidd) gid=110(uuidd) groups=110(uuidd)
uid=107(dnsmasq) gid=65534(nogroup) groups=65534(nogroup)
uid=108(landscape) gid=112(landscape) groups=112(landscape)
uid=109(pollinate) gid=1(daemon) groups=1(daemon)
uid=110(sshd) gid=65534(nogroup) groups=65534(nogroup)
uid=1000(mango) gid=1000(mango) groups=1000(mango)
uid=4000000000(admin) gid=1001(admin) groups=1001(admin)
uid=111(mongodb) gid=65534(nogroup) groups=65534(nogroup),114(mongodb)
SUIDs
mango@mango:~$ find / -perm -04000 -ls -type f 2>/dev/null
786500 32 -rwsr-xr-x 1 root root 30800 Aug 11 2016 /bin/fusermount
786527 44 -rwsr-xr-x 1 root root 43088 Oct 15 2018 /bin/mount
786585 28 -rwsr-xr-x 1 root root 26696 Oct 15 2018 /bin/umount
786567 44 -rwsr-xr-x 1 root root 44664 Jan 25 2018 /bin/su
786551 64 -rwsr-xr-x 1 root root 64424 Mar 9 2017 /bin/ping
66 40 -rwsr-xr-x 1 root root 40152 May 15 2019 /snap/core/7713/bin/mount
80 44 -rwsr-xr-x 1 root root 44168 May 7 2014 /snap/core/7713/bin/ping
81 44 -rwsr-xr-x 1 root root 44680 May 7 2014 /snap/core/7713/bin/ping6
98 40 -rwsr-xr-x 1 root root 40128 Mar 25 2019 /snap/core/7713/bin/su
116 27 -rwsr-xr-x 1 root root 27608 May 15 2019 /snap/core/7713/bin/umount
2657 71 -rwsr-xr-x 1 root root 71824 Mar 25 2019 /snap/core/7713/usr/bin/chfn
2659 40 -rwsr-xr-x 1 root root 40432 Mar 25 2019 /snap/core/7713/usr/bin/chsh
2735 74 -rwsr-xr-x 1 root root 75304 Mar 25 2019 /snap/core/7713/usr/bin/gpasswd
2827 39 -rwsr-xr-x 1 root root 39904 Mar 25 2019 /snap/core/7713/usr/bin/newgrp
2840 53 -rwsr-xr-x 1 root root 54256 Mar 25 2019 /snap/core/7713/usr/bin/passwd
2950 134 -rwsr-xr-x 1 root root 136808 Jun 10 2019 /snap/core/7713/usr/bin/sudo
3049 42 -rwsr-xr-- 1 root systemd-resolve 42992 Jun 10 2019 /snap/core/7713/usr/lib/dbus-1.0/dbus-daemon-launch-helper
3419 419 -rwsr-xr-x 1 root root 428240 Mar 4 2019 /snap/core/7713/usr/lib/openssh/ssh-keysign
6452 105 -rwsr-sr-x 1 root root 106696 Aug 30 2019 /snap/core/7713/usr/lib/snapd/snap-confine
7626 386 -rwsr-xr-- 1 root dip 394984 Jun 12 2018 /snap/core/7713/usr/sbin/pppd
66 40 -rwsr-xr-x 1 root root 40152 May 16 2018 /snap/core/6350/bin/mount
80 44 -rwsr-xr-x 1 root root 44168 May 7 2014 /snap/core/6350/bin/ping
81 44 -rwsr-xr-x 1 root root 44680 May 7 2014 /snap/core/6350/bin/ping6
98 40 -rwsr-xr-x 1 root root 40128 May 17 2017 /snap/core/6350/bin/su
116 27 -rwsr-xr-x 1 root root 27608 May 16 2018 /snap/core/6350/bin/umount
2658 71 -rwsr-xr-x 1 root root 71824 May 17 2017 /snap/core/6350/usr/bin/chfn
2660 40 -rwsr-xr-x 1 root root 40432 May 17 2017 /snap/core/6350/usr/bin/chsh
2735 74 -rwsr-xr-x 1 root root 75304 May 17 2017 /snap/core/6350/usr/bin/gpasswd
2827 39 -rwsr-xr-x 1 root root 39904 May 17 2017 /snap/core/6350/usr/bin/newgrp
2840 53 -rwsr-xr-x 1 root root 54256 May 17 2017 /snap/core/6350/usr/bin/passwd
2950 134 -rwsr-xr-x 1 root root 136808 Jul 4 2017 /snap/core/6350/usr/bin/sudo
3049 42 -rwsr-xr-- 1 root systemd-resolve 42992 Jan 12 2017 /snap/core/6350/usr/lib/dbus-1.0/dbus-daemon-launch-helper
3419 419 -rwsr-xr-x 1 root root 428240 Nov 5 2018 /snap/core/6350/usr/lib/openssh/ssh-keysign
6445 97 -rwsr-sr-x 1 root root 98472 Jan 29 2019 /snap/core/6350/usr/lib/snapd/snap-confine
7615 386 -rwsr-xr-- 1 root dip 394984 Jun 12 2018 /snap/core/6350/usr/sbin/pppd
263053 40 -rwsr-xr-x 1 root root 37136 Jan 25 2018 /usr/bin/newuidmap
263052 40 -rwsr-xr-x 1 root root 40344 Jan 25 2018 /usr/bin/newgrp
262942 76 -rwsr-xr-x 1 root root 75824 Jan 25 2018 /usr/bin/gpasswd
263069 60 -rwsr-xr-x 1 root root 59640 Jan 25 2018 /usr/bin/passwd
263051 40 -rwsr-xr-x 1 root root 37136 Jan 25 2018 /usr/bin/newgidmap
263140 20 -rwsr-sr-x 1 root root 18161 Jul 15 2016 /usr/bin/run-mailcap
262848 76 -rwsr-xr-x 1 root root 76496 Jan 25 2018 /usr/bin/chfn
262850 44 -rwsr-xr-x 1 root root 44528 Jan 25 2018 /usr/bin/chsh
263194 148 -rwsr-xr-x 1 root root 149080 Jan 18 2018 /usr/bin/sudo
262797 52 -rwsr-sr-x 1 daemon daemon 51464 Feb 20 2018 /usr/bin/at
263230 20 -rwsr-xr-x 1 root root 18448 Mar 9 2017 /usr/bin/traceroute6.iputils
262806 24 -rwsr-xr-x 1 root root 22520 Mar 27 2019 /usr/bin/pkexec
268892 44 -rwsr-xr-- 1 root messagebus 42992 Jun 10 2019 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
393793 100 -rwsr-xr-x 1 root root 100760 Nov 23 2018 /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic
262966 16 -rwsr-xr-x 1 root root 14328 Mar 27 2019 /usr/lib/policykit-1/polkit-agent-helper-1
263423 12 -rwsr-xr-x 1 root root 10232 Mar 28 2017 /usr/lib/eject/dmcrypt-get-device
274666 12 -rwsr-sr-- 1 root admin 10352 Jul 18 2019 /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs
274590 428 -rwsr-xr-x 1 root root 436552 Mar 4 2019 /usr/lib/openssh/ssh-keysign
266298 100 -rwsr-sr-x 1 root root 101240 Mar 15 2019 /usr/lib/snapd/snap-confine
/usr/bin/pkexec
/usr/bin/run-mailcap
/usr/lib/jvm/java-11-openjdk-amd64/bin/jjs
SGIDs
mango@mango:~$ find / -perm -02000 -ls -type f 2>/dev/null
389 0 drwxr-s--- 2 root dip 54 Aug 30 2019 /snap/core/7713/etc/chatscripts
791 0 drwxr-s--- 2 root dip 31 Aug 30 2019 /snap/core/7713/etc/ppp/peers
2575 35 -rwxr-sr-x 1 root shadow 35632 Apr 9 2018 /snap/core/7713/sbin/pam_extrausers_chkpwd
2615 35 -rwxr-sr-x 1 root shadow 35600 Apr 9 2018 /snap/core/7713/sbin/unix_chkpwd
2652 61 -rwxr-sr-x 1 root shadow 62336 Mar 25 2019 /snap/core/7713/usr/bin/chage
2672 36 -rwxr-sr-x 1 root systemd-network 36080 Apr 5 2016 /snap/core/7713/usr/bin/crontab
2701 15 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /snap/core/7713/usr/bin/dotlockfile
2713 23 -rwxr-sr-x 1 root shadow 22768 Mar 25 2019 /snap/core/7713/usr/bin/expiry
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/7713/usr/bin/mail-lock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/7713/usr/bin/mail-touchlock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/7713/usr/bin/mail-unlock
2943 351 -rwxr-sr-x 1 root crontab 358624 Mar 4 2019 /snap/core/7713/usr/bin/ssh-agent
3008 27 -rwxr-sr-x 1 root tty 27368 May 15 2019 /snap/core/7713/usr/bin/wall
6452 105 -rwsr-sr-x 1 root root 106696 Aug 30 2019 /snap/core/7713/usr/lib/snapd/snap-confine
7565 0 drwxrwsr-x 3 root staff 36 Aug 30 2019 /snap/core/7713/usr/local/lib/python3.5
7566 0 drwxrwsr-x 2 root staff 3 Aug 30 2019 /snap/core/7713/usr/local/lib/python3.5/dist-packages
12805 0 drwxrwsr-x 2 root staff 3 Apr 12 2016 /snap/core/7713/var/local
12816 0 drwxrwsr-x 2 root mail 3 Aug 30 2019 /snap/core/7713/var/mail
391 0 drwxr-s--- 2 root dip 54 Jan 29 2019 /snap/core/6350/etc/chatscripts
793 0 drwxr-s--- 2 root dip 31 Jan 29 2019 /snap/core/6350/etc/ppp/peers
2576 35 -rwxr-sr-x 1 root shadow 35632 Apr 9 2018 /snap/core/6350/sbin/pam_extrausers_chkpwd
2616 35 -rwxr-sr-x 1 root shadow 35600 Apr 9 2018 /snap/core/6350/sbin/unix_chkpwd
2653 61 -rwxr-sr-x 1 root shadow 62336 May 17 2017 /snap/core/6350/usr/bin/chage
2672 36 -rwxr-sr-x 1 root systemd-network 36080 Apr 5 2016 /snap/core/6350/usr/bin/crontab
2701 15 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /snap/core/6350/usr/bin/dotlockfile
2713 23 -rwxr-sr-x 1 root shadow 22768 May 17 2017 /snap/core/6350/usr/bin/expiry
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6350/usr/bin/mail-lock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6350/usr/bin/mail-touchlock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6350/usr/bin/mail-unlock
2943 351 -rwxr-sr-x 1 root crontab 358624 Nov 5 2018 /snap/core/6350/usr/bin/ssh-agent
3008 27 -rwxr-sr-x 1 root tty 27368 May 16 2018 /snap/core/6350/usr/bin/wall
6445 97 -rwsr-sr-x 1 root root 98472 Jan 29 2019 /snap/core/6350/usr/lib/snapd/snap-confine
7554 0 drwxrwsr-x 3 root staff 36 Jan 29 2019 /snap/core/6350/usr/local/lib/python3.5
7555 0 drwxrwsr-x 2 root staff 3 Jan 29 2019 /snap/core/6350/usr/local/lib/python3.5/dist-packages
12794 0 drwxrwsr-x 2 root staff 3 Apr 12 2016 /snap/core/6350/var/local
12805 0 drwxrwsr-x 2 root mail 3 Jan 29 2019 /snap/core/6350/var/mail
132303 4 drwxr-sr-x 3 root systemd-journal 4096 Sep 27 2019 /var/log/journal
274579 4 drwxr-sr-x 2 root systemd-journal 4096 sep 28 18:24 /var/log/journal/8f85cc7d42ec4b5e8c588f2d82076304
132014 4 drwxrwsr-x 2 root staff 4096 Apr 24 2018 /var/local
132016 4 drwxrwsr-x 2 root mail 4096 Feb 14 2019 /var/mail
269291 4 drwxrwsr-x 3 root staff 4096 Feb 14 2019 /usr/local/lib/python3.6
269292 4 drwxrwsr-x 2 root staff 4096 Feb 14 2019 /usr/local/lib/python3.6/dist-packages
274675 4 drwxrwsr-x 2 root staff 4096 Sep 27 2019 /usr/local/share/fonts
263284 32 -rwxr-sr-x 1 root tty 30800 Oct 15 2018 /usr/bin/wall
274584 356 -rwxr-sr-x 1 root ssh 362640 Mar 4 2019 /usr/bin/ssh-agent
262870 40 -rwxr-sr-x 1 root crontab 39352 Nov 16 2017 /usr/bin/crontab
262843 72 -rwxr-sr-x 1 root shadow 71816 Jan 25 2018 /usr/bin/chage
262808 16 -rwxr-sr-x 1 root tty 14328 Jan 17 2018 /usr/bin/bsd-write
263140 20 -rwsr-sr-x 1 root root 18161 Jul 15 2016 /usr/bin/run-mailcap
262921 24 -rwxr-sr-x 1 root shadow 22808 Jan 25 2018 /usr/bin/expiry
262797 52 -rwsr-sr-x 1 daemon daemon 51464 Feb 20 2018 /usr/bin/at
263043 44 -rwxr-sr-x 1 root mlocate 43088 Mar 1 2018 /usr/bin/mlocate
394974 12 -rwxr-sr-x 1 root utmp 10232 Mar 11 2016 /usr/lib/x86_64-linux-gnu/utempter/utempter
274666 12 -rwsr-sr-- 1 root admin 10352 Jul 18 2019 /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs
266298 100 -rwsr-sr-x 1 root root 101240 Mar 15 2019 /usr/lib/snapd/snap-confine
262664 36 -rwxr-sr-x 1 root shadow 34816 Apr 5 2018 /sbin/pam_extrausers_chkpwd
262696 36 -rwxr-sr-x 1 root shadow 34816 Apr 5 2018 /sbin/unix_chkpwd
/usr/lib/jvm/java-11-openjdk-amd64/bin/jjs
Processes
mango@mango:~$ ps -auxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.4 159744 8672 ? Ss 13:23 0:03 /sbin/init auto automatic-ubiquity noprompt
root 415 0.0 1.1 131008 24072 ? S<s 13:23 0:03 /lib/systemd/systemd-journald
root 416 0.0 0.5 126856 11136 ? Ss 13:23 0:18 /usr/bin/vmtoolsd
root 429 0.0 0.0 97708 1736 ? Ss 13:23 0:00 /sbin/lvmetad -f
root 432 0.0 0.2 46888 5380 ? Rs 13:23 0:00 /lib/systemd/systemd-udevd
systemd+ 526 0.0 0.1 141928 3132 ? Ssl 13:23 0:01 /lib/systemd/systemd-timesyncd
systemd+ 746 0.0 0.2 71848 4948 ? Ss 13:23 0:00 /lib/systemd/systemd-networkd
systemd+ 786 0.0 0.2 70628 4920 ? Ss 13:23 0:02 /lib/systemd/systemd-resolved
root 909 0.0 0.4 88224 9272 ? Ss 13:23 0:00 /usr/bin/VGAuthService
syslog 921 0.0 0.2 267272 4716 ? Ssl 13:23 0:00 /usr/sbin/rsyslogd -n
root 933 0.0 0.0 530996 1740 ? Ssl 13:23 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 934 0.0 0.1 30028 2924 ? Ss 13:23 0:00 /usr/sbin/cron -f
root 940 0.0 0.2 70588 6024 ? Ss 13:23 0:00 /lib/systemd/systemd-logind
message+ 942 0.0 0.2 50052 4200 ? Rs 13:23 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 986 0.0 0.3 286252 6576 ? Ssl 13:23 0:00 /usr/lib/accountsservice/accounts-daemon
mongodb 988 0.4 3.8 1126052 77520 ? Ssl 13:23 1:43 /usr/bin/mongod --config /etc/mongod.conf
root 1005 0.0 1.2 634076 24624 ? Ssl 13:23 0:02 /usr/lib/snapd/snapd
daemon 1006 0.0 0.1 28332 2152 ? Ss 13:23 0:00 /usr/sbin/atd -f
root 1011 0.0 0.6 169096 12556 ? Ssl 13:23 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 1014 0.0 0.7 185932 14932 ? Ssl 13:23 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 1060 0.0 0.3 72296 6084 ? Ss 13:23 0:00 /usr/sbin/sshd -D
root 1064 0.0 0.3 288880 6056 ? Ssl 13:23 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 1098 0.0 0.0 14888 1608 tty1 Ss+ 13:23 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 1209 0.0 0.8 393384 17420 ? Ss 13:23 0:08 /usr/sbin/apache2 -k start
root 7130 0.0 0.3 107984 7308 ? Ss 18:25 0:00 sshd: mango [priv]
mango 7132 0.0 0.3 76644 6928 ? Ss 18:25 0:00 /lib/systemd/systemd --user
mango 7133 0.0 0.1 193728 2244 ? S 18:25 0:00 (sd-pam)
mango 7222 0.0 0.1 107984 3248 ? S 18:25 0:00 sshd: mango@pts/0
mango 7223 0.0 0.2 21460 4976 pts/0 Ss 18:25 0:00 -bash
root 8146 0.0 0.0 0 0 ? I 18:48 0:00 [kworker/0:2]
www-data 8179 0.1 0.8 396236 16816 ? S 18:49 0:03 /usr/sbin/apache2 -k start
mango 8779 0.0 0.1 38372 3508 pts/0 R+ 19:39 0:00 ps -auxwww
root 8780 0.0 0.2 159748 4124 ? Rs 19:39 0:00 (ionclean)
/usr/sbin/cron -f
/usr/bin/mongod --config /etc/mongod.conf
/usr/lib/policykit-1/polkitd --no-debug
Cron & Systemd
mango@mango:~$ crontab -l ; cat /etc/crontab ; systemctl list-timers
no crontab for mango
# /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
# m h dom mon dow user command
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
thu 2023-09-28 20:09:00 UTC 28min left Thu 2023-09-28 19:39:01 UTC 1min 38s ago phpsessionclean.timer phpsessionclean.service
thu 2023-09-28 21:43:23 UTC 2h 2min left Thu 2023-09-28 13:23:46 UTC 6h ago apt-daily.timer apt-daily.service
fri 2023-09-29 02:28:02 UTC 6h left Thu 2023-09-28 13:42:58 UTC 5h 57min ago motd-news.timer motd-news.service
fri 2023-09-29 06:51:02 UTC 11h left Thu 2023-09-28 13:23:46 UTC 6h ago apt-daily-upgrade.timer apt-daily-upgrade.service
fri 2023-09-29 13:38:52 UTC 17h left Thu 2023-09-28 13:38:52 UTC 6h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
mon 2023-10-02 00:00:00 UTC 3 days left Thu 2023-09-28 13:23:46 UTC 6h ago fstrim.timer fstrim.service
6 timers listed.
Pass --all to see loaded but inactive timers, too.
Sudo Version
mango@mango:~$ sudo --version
Sudo version 1.8.21p2
Sudoers policy plugin version 1.8.21p2
Sudoers file grammar version 46
Sudoers I/O plugin version 1.8.21p2
Sudo version 1.8.21p2
Glibc Version
mango@mango:~$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
Copyright (C) 2018 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.27-3ubuntu1) 2.27