Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.

2 Comments

  1. Hi,
    Thanks for your valuable information,

    But I need a script for useradd:

    Suppose from root user, I create a user & I delete a user, then
    I want a email alert at useradd & userdel, when root fire these commands,
    So if you know then pls share

    1. Thanks Jasvinder for the comments. You need a script that send email when root create a user using useradd command and also send email when deleting a user ?