st_snapshot.hourly command not found

In this troubleshooting guide we learn how to fix st_snapshot.hourly command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

st_snapshot.hourly: command not found

or when using sudo you get the following error message

sudo: st_snapshot.hourly: command not found

Solutions to st_snapshot.hourly: command not found

How To Fix st_snapshot.hourly: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu st_snapshot.hourly is provided by systraq package.

systraq is:

Systraq weekly sends you an email listing the state of your system. Furthermore, if critical files have changed, you’ll get an email within a shorter notice. Systraq consists of few very small shell scripts.

It can help you implementing a not too strict security policy. For more demanding systems, you’d better use something like tripwire or tiger. Make sure you really want to do the monitoring this script offers: it might not comply with your site’s privacy policy. Getting informed when users’ config file change might be too intrusive.

Other similar tools are available in Debian (`diffmon’ for instance), but systraq is less intrusive because it can warn for file changes without mailing a complete diff (which is not desirable for e.g. /etc/shadow).

To fix this problem, we can install more using the command below.

sudo apt-get -y install systraq

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install systraq.

sudo apt -y install systraq

Or if you have aptitude installed you can use the following command.

sudo aptitude install systraq

Summary

In this tutorial we learn how to fix st_snapshot.hourly command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.