Cannot locate/use shasum within 12.2 Release Jail

subi75

Dabbler
Joined
Oct 12, 2014
Messages
10
I'm in the process of setting up Graylog as a syslog server in a new 12.2 Release jail on a TrueNAS Core server, whilst following instructions as per Setting up Graylog in a FreeNAS jail & Installing Graylog 3 in a TrueNAS 12.0 Jail (FreeBSD)

Both of these instructions provide the following instruction to create a password hash:
echo -n | shasum -a 256

The issue I have is that shasum does not exist within the Jail, nor can I determine how to install it. I receive the error "-bash: shasum: command not found"
I can use shasum in the host SSH session, but not once I'm within the Jail SSH session (I receive the above error).

Is this an additional package I need to install, as I have various forms of shasum (sha2sum, sha256sum etc) and all fail, including referencing these names as part of a pkg install command.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Code:
root@nas:~ # which shasum
/usr/local/bin/shasum

root@nas:~ # pkg which /usr/local/bin/shasum

/usr/local/bin/shasum was installed by package perl5-5.30.2
 
Top