IBM i Global

IBM i Global

Connect, learn, share, and engage with IBM Power.

 View Only
Expand all | Collapse all

IBM i - prevent password expiration notice from being displayed on JT400

  • 1.  IBM i - prevent password expiration notice from being displayed on JT400

    Posted Wed March 27, 2024 05:33 PM

    Hello,

    Is there a way to prevent the password expiration warning message from being displayed when an application connects, using the JT400

    the message that appears is: "Password will expire in 7 days..."

    I tried changing the PWDEXPITV parameter but the password should expire due to audit.



    ------------------------------
    Jorge Lee
    ------------------------------


  • 2.  RE: IBM i - prevent password expiration notice from being displayed on JT400

    Posted Thu March 28, 2024 11:12 AM

    Hello Jorge,

    There is a static method on the AS400 class that can be used to set the number of password expiration warning days.  If you don't want the warning to pop up, set it to zero before you make any connections:

    AS400.setPasswordExpirationWarningDays(0);



    ------------------------------
    Michael Swenson
    Software Engineer
    IBM
    ------------------------------