Hook after user creation?
Hello,
is there any way how to hook a (shell) script to the ISPmanager in such a way that it would be called right after a user is created? I had no luck finding it. Actually I need the same for domain creation too. Any help is really appreciated. Thank you! :) |
Hello, see
http://en.ispdoc.com/index.php/Perfo...tom_operations http://en.ispdoc.com/index.php/Events Use event for user.edit and domain.edit |
Quote:
However it seems that I am unable to get it working. What I have done (following the first link): Code:
# cat /usr/local/ispmgr/etc/ispmgr_mod_perms.xml Code:
# cat /usr/local/ispmgr/addon/perms_user.pl And permissions: Code:
-r-xr-x--- 1 root root 354 Dec 26 13:44 /usr/local/ispmgr/addon/perms_user.pl I'm working with ISPmanager-Pro 4.3.53.1. |
Have you tried to run the script manually? Something like 'perl perms_user.pl'
|
Quote:
Thank you for helping me, vian and slava! |
All times are GMT +2. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.