Executing linux command after new diretctadmin user created

smhnaji

Verified User
Joined
Mar 28, 2013
Messages
23
I have got for more security, I should use maldetect tool. The command `maldet -m user` will take care of every file that any user changes (and/or uploades) for threats.

Whenever we execute the command, it shows list of users and watches them for changes.

After a new user is created, the user should be added to maldet user list.

I manually do `maldet -k` to stop taking care of previous user list and then do a new `maldet -m user`.

How should do the job automatically after a new user is created and/or removed from directadmin?

Thank you
 
Back
Top