summaryrefslogtreecommitdiff
path: root/network/netqmail/useradd_functions
diff options
context:
space:
mode:
Diffstat (limited to 'network/netqmail/useradd_functions')
-rw-r--r--network/netqmail/useradd_functions10
1 files changed, 10 insertions, 0 deletions
diff --git a/network/netqmail/useradd_functions b/network/netqmail/useradd_functions
new file mode 100644
index 0000000000..b7711224d1
--- /dev/null
+++ b/network/netqmail/useradd_functions
@@ -0,0 +1,10 @@
+useradd()
+{
+ ADDED_USERS=$ADDED_USERS' '$(echo "$@"|rev|cut -f1 -d' '|rev)
+ /usr/sbin/useradd "$@"
+}
+groupadd()
+{
+ ADDED_GROUPS=$ADDED_GROUPS' '$(echo "$@"|rev|cut -f1 -d' '|rev)
+ /usr/sbin/groupadd "$@"
+}