Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Is there any way when force password change on next login can trigger a script immediately after password reset

    Posted on

    Hi,

    For one of our product, when any new user is created we are forcing user to change password on next login (using command "chage -d 0 ") .
    Once password is changed on next login, we want to trigger a script which updates a DB.
    Is there a way where we can call a script in RedHat or Linux password reset flow?

    Thanks in advance!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat