How to remove core files from your Sophos UTM


1. Turn on SSH Access on your UTM
Follow these 12 steps to turn on ssh access to your UTM 9.x OS




2. Login as Loginuser
Using Putty or Unix line ssh
connect
to your UTM

a)  Unix: (ssh ipaddresss -p <port#> -l loginuser)
b)  Putty: Pick the ssh and fill in the option.


3. Become Superuser
$  su <enterkey>

input root  password, now you are loginuser elevated to root and you can do your work

4. Change direcotry to the cores location
# cd /var/storage/cores

5. Verify stuff in that in that directory
# ls -la 

/var/storage/cores # ls -la
total 13079124
drwx------  2 root root       4096 May 24 07:43 .
drwxr-xr-x 13 root root       4096 Oct  4  2014 ..
-rw-r--r--  1 root root   13336576 Dec  4  2015 admin-reporter..23205
-rw-r--r--  1 root root     229376 Nov 29  2014 confd.plx.4256
-rw-r--r--  1 root root  218554368 Oct  5  2016 cssd.5866
-rw-r--r--  1 root root  224866304 Jan 17  2017 cssd.9291
-rw-r--r--  1 root root   23425024 Nov  5  2016 ctasd.bin.12189
-rw-r--r--  1 root root   20770816 Nov  5  2016 ctasd.bin.12190
-rw-r--r--  1 root root   21147648 Nov 23  2016 ctasd.bin.18996
-rw-r--r--  1 root root   25112576 Nov 23  2016 ctasd.bin.19016
-rw-r--r--  1 root root   17580032 Nov 23  2016 ctipd.bin.21812
-rw-r--r--  1 root root   47149056 Jun 30  2016 ctipd.bin.5626
-rw-r--r--  1 root root   22990848 Jun 30  2016 ctipd.bin.8368
-rw-r--r--  1 root root  171433984 Jun 10  2016 httpd.6046
-rw-r--r--  1 root root  616169472 Dec 28  2015 httpd.7605
-rw-r--r--  1 root root  779026432 Aug  7 05:35 httpproxy.NAVLWorker_02.22082
-rw-r--r--  1 root root 2781777920 Aug  7 03:02 httpproxy.NAVLWorker_16.24396
-rw-r--r--  1 root root 2746126336 Aug  7 04:14 httpproxy.NAVLWorker_21.19476
-rw-r--r--  1 root root 2432536576 Aug  7 05:37 httpproxy.NAVLWorker_27.7562
-rw-r--r--  1 root root 1667846144 Aug  7 06:08 httpproxy.NAVLWorker_28.10010
-rw-r--r--  1 root root 1128423424 Jan 21  2016 postgres.19517
-rw-r--r--  1 root root   65970176 Dec 11  2014 smtpd.bin.15507
-rw-r--r--  1 root root   66179072 Dec 11  2014 smtpd.bin.19572
-rw-r--r--  1 root root   65970176 Dec 11  2014 smtpd.bin.2604
-rw-r--r--  1 root root   91181056 Feb  3  2015 smtpd.bin.29700
-rw-r--r--  1 root root   66596864 Jan  5  2015 smtpd.bin.6579
-rw-r--r--  1 root root   28999680 May 14  2015 ulogd.16066
-rw-r--r--  1 root root   28995584 Apr 21  2015 ulogd.3217
-rw-r--r--  1 root root   20582400 Jan  8  2015 ulogd.4441


6. Delete the core files from that directory
# rm *


How did we do?