diff options
Diffstat (limited to 'mail/qmail/files/removeusers.sh')
-rwxr-xr-x | mail/qmail/files/removeusers.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/qmail/files/removeusers.sh b/mail/qmail/files/removeusers.sh new file mode 100755 index 00000000000..f6be9ba9cd8 --- /dev/null +++ b/mail/qmail/files/removeusers.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $NetBSD: removeusers.sh,v 1.1.1.1 2001/08/13 09:10:10 zuntum Exp $ + +USER_CMD=@USER_CMD@ +GROUP_CMD=@GROUP_CMD@ + +USERS="alias qmaill qmaild qmailp qmailq qmailr qmails" +GROUPS="qmail nofiles" + +for i in $USERS; do ${USER_CMD} del $i 2> /dev/null > /dev/null; done +for i in $GROUPS; do ${GROUP_CMD} del $i 2> /dev/null > /dev/null; done + +echo "qmail users and groups removed." |