autopsy icon indicating copy to clipboard operation
autopsy copied to clipboard

autopsy not working (Kali linux)

Open MostafaaSFX opened this issue 1 year ago • 2 comments

am trying to open autopsy but I have this error and I don't know how to fix it

$ autopsy
Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/autopsy line 307.

MostafaaSFX avatar Feb 13 '24 16:02 MostafaaSFX

Hi Team,

I am having the same issue as @MostafaaSFX

This is also reported in the Kali Bug Tracker

The reporter of the bug shared a work around:

The fix is to add a line that reads $ENV{PATH} = '/usr/bin/:/usr/sbin/' ahead of line 307.

Little more details on my end:

Machine Specs: PRETTY_NAME="Kali GNU/Linux Rolling" NAME="Kali GNU/Linux" VERSION_ID="2023.4" VERSION="2023.4" VERSION_CODENAME=kali-rolling ID=kali ID_LIKE=debian

Autopsy version 2.24-6

I've tried uninstalling and re-installing from both the Kali package manager and from TSK website and followed all of the instructions in the READ ME

I feel like I've tried pretty much everything I've found in various places and even fiddled around with making temp changes to my $PATH

devndevs avatar Feb 15 '24 05:02 devndevs

This is an extremely old version of Autopsy that is not support anymore, the current version of Autopsy is 4.21.0. There is a snap package available if you want to use that or you can use the instructions here (which includes snap) https://github.com/sleuthkit/autopsy/blob/develop/Running_Linux_OSX.md.

markmckinnon avatar Feb 15 '24 15:02 markmckinnon