Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All, I want to config my system such way that if anyone tries to change my root password then system will automatically mail the new password to system admin. ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5

    how to email password when changed

    Dear All,
    I want to config my system such way that if anyone tries to change my root password then system will automatically mail the new password to system admin. is it possible? please let me know how..........................

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    99
    of course, rewrite passwd command

    example: mv /bin/passwd /bin/chagpw

    create one new shell script named /bin/passwd, use to change passwd and mail new password to yourself.

    ^__^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...