initial commit of file from CVS for smeserver-sogo on Sat Sep 7 16:42:51 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 16:42:51 +10:00
parent 6d95628cf6
commit ac311161a2
122 changed files with 3844 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
EVENT=$1
USER=$2
if [ -z "$EVENT" ]; then
echo "event name is missing"
exit 1
fi
if [ -z "$USER" ]; then
echo "user account is missing"
exit 1
fi
su -l -s /bin/bash sogo -c "/usr/sbin/sogo-tool remove $USER" > /dev/null 2>&1