Notification of user id creation/deletion

Can someone help me with a shell script that will send an email to a set of email ids when a user id is created or deleted on AIX system.
Also, if the script can let the admin know when a particular user id's password will expire.

Dear ggayathri,

I have a few to questions pose in response first:-

  • What have you tried so far?
  • What output/errors do you get?
  • What AIX version are you using?
  • What files are you exploring to get this information?
  • What are your preferred tools? (C, shell, perl, awk, etc.)
  • What logical process have you considered? (to help steer us to follow what you are trying to achieve)

Most importantly, What have you tried so far?

There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.

We're all here to learn and getting the relevant information will help us all.

Robin

Bumping up posts or double posting is not permitted in these forums. You also have thread http://www.unix.com/emergency-unix-and-linux-support/261779-user-id-creation-deletion-notification.html\#post302958505 so I will close this one.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.