Notes to Self

Alex Sokolsky's Notes on Computers and Programming

TrueNAS Customization

TrueNAS Core: Facilitate Troubleshooting

For SMB, here is a guide. In Sharing / SMB / Share/ Auxiliary Parameters:

vfs objects = full_audit
full_audit:prefix = %u|%I|%S
full_audit:failure = connect
full_audit:success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fchown chdir ftruncate lock symlink readlink link mknod realpath
full_audit:facility = LOCAL5
full_audit:priority = NOTICE

Drive Spin Down

TrueNAS Scale: enable apt for package management

sudo chmod a+x /usr/bin/apt*
sudo chmod a+x /usr/bin/dpkg

Before you install new packages, do:

sudo apt update

Then install packages as usual:

sudo apt install emacs-nox