#!/bin/bash
chsh -s /usr/local/bin/logged-shell guest
usermod -a -G ssh_allow_grp guest
passwd guest