#!/usr/bin/bash
/usr/sbin/groupadd freem
/usr/sbin/useradd -m -d /home/freem -s /bin/bash -c "FreeM User" -g freem freem
/usr/bin/fmadm configure
/usr/bin/chown -R freem:freem /var/freem
/usr/bin/chmod -R 775 /var/freem
echo ""
echo "======================================================================"
echo "FreeM has been installed."
echo ""
echo ""
echo "Any users who wish to use FreeM must be a member of the freem group. "
echo "======================================================================"
echo ""
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>