FreeBSD 12.1: changing the default shell for jexec
chsh, .profile and a path argument all fail to give jexec a different shell. Reading jexec.c shows why, and where the hardcoded /bin/sh comes from.
chsh, .profile and a path argument all fail to give jexec a different shell. Reading jexec.c shows why, and where the hardcoded /bin/sh comes from.
jls reports the parameters a jail was defined with, not what it is doing now. A small script adds process counts, users and live state to the same table.
Self-hosting Mattermost from the FreeBSD port: the jail, the database user, TLS with Let's Encrypt behind Cloudflare, and a working server in five minutes.