/usr/bin/id %%ci_login%% 2>&1
if [ $? -ne 0 ]; then
        /usr/sbin/pw useradd %%ci_login%% -G wheel -m -s %%ci_shell%%
        mkdir -p 0700 ~%%ci_login%%/.ssh
        cat > ~%%ci_login%%/.ssh/authorized_keys <<XEOF
%%ci_pubkey%%
%%ci_pubkey2%%
XEOF
fi
