3 # postinst script for monkeysphere
5 # Author: Jameson Rollins <jrollins@finestructure.net>
8 VARLIB="/var/lib/monkeysphere"
10 # add a monkeysphere user if one does not already exist
11 if ! getent passwd monkeysphere >/dev/null ; then
12 echo "adding monkeysphere user..."
13 adduser --quiet --system --no-create-home --group \
16 --gecos 'monkeysphere authentication user,,,' \
20 # import the host ssh key into the monkeysphere, with no expiration
21 # FIXME: figure out how to do this best
23 # dh_installdeb will replace this with shell code automatically
24 # generated by other debhelper scripts.