• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Changing i/OS Password Expiration Settings

    September 22, 2010 Hey, Joe

    We found a number of user profiles on our i/OS box that have password expiration intervals of *NOMAX, meaning that their passwords will never expire. We’re changing their expiration interval to *SYSVAL, so that each user profile takes its password expiration interval from the global system value. How long after I make this change will the users be required to change their passwords? I’m on i/OS V5R4M5.

    –Joe

    Before I get to the solution, it’s worth reviewing how the password expiration interval is calculated for an IBM iSeries, System i, or Power i user on an i/OS V5R4Mx partition.

    1. On your i/OS system, there is a Password Expiration Interval (QPWDEXPITV) system value that serves as a global password expiration interval. This interval specifies the number of days it takes since the last time the user password was changed for the password expiration process to begin. Once the user profile reaches its expiration date less seven days, the user will start receiving warnings that his password is about to expire and the system will offer to let him change the password but a password change is not mandatory. Once the user profile reaches its password expiration date, the user must change his password before he can sign on again.

    QPWDEXPITV’s shipping value is *NOMAX, which means that in the absence of any user profile overrides, all user passwords will never expire. However, best practices specify that your global password expiration value should be set to 90 days or less, meaning the system will force the user to change his password at least four times a year. Also note that no auditor will recommend that you keep QPWDEXPITV at its default value.

    To double-check your QPWDEXPITV value, run this Work with System Value (WRKSYSVAL) command on your system and take option 5=Display.

    DSPSYSVAL SYSVAL(QPWDEXPITV)
    

    If QPWDEXPITV equals *NOMAX, I highly recommend that you change it to 90 days or less.

    2. Besides the global QPWDEXPITV value, each user profile also contains its own Password Expiration Interval parameter (PWDEXPITV). PWDEXPITV can be set to one of three values. In all three cases, the system will start asking the user to change his password when the expiration date is within seven days of the current date.

    • An individual number of days that the password will expire after it was last changed (between 1 and 366 days). The date the password was last changed is stored with the user profile, and the system then calculates the password expiration date as the last password change date plus the number of days listed here.
    • *SYSVAL–The user profile will take its password expiration interval from the QPWDEXPITV system value. The expiration date is then calculated by adding the number of days in the QPWDEXPITV system value to the last password change date.
    • *NOMAX, which specifies that the user profile password will never expire, which is the situation you are looking to change for your users.

    You can view an individual’s password expiration value and last changed date by running the following Work with User Profile (WRKUSRPRF) command and select option 5=Display.

    WRKUSRPRF USRPRF(user_name)
    

    You can also find this information by looking in the Capabilities tab under the user profile in iSeries Navigator. Here’s what that screen looks like.

    For our example, let’s assume your QPWDEXPITV value is set to 90 days.

    If you change a user profile’s PWDEXPITV parameter from *NOMAX to *SYSVAL, your users will probably have to change their password the next time they sign in. System-initiated password changes are dependent on the last time the user changed their password, regardless of whether their PWDEXPITV parameter was set to *NOMAX or *SYSVAL at the time. If the user changed their password within the last 90 days (our default password expiration interval), they will not have to start the password change process until 83 days (90 days less seven days) have elapsed.

    If the user previously changed their password 83-89 days ago, the system will warn them and ask them if they want to change their password now. If the user changed their password 90+ days ago, then the system will prompt them to change their password immediately. They won’t be able to sign on until the password is changed.

    Also note that in i/OS V6R1 and i/OS V7R1, IBM has added additional password parameters that will affect your password management. But for a V5R4Mx system, this works as advertised.

    –Joe



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Manta Technologies

    The Leader in IBM i Education!
    Need training on anything i?
    Manta is all you need.

    130 courses and competency exams on:
    · IBM i operations
    · System Management and Security
    · IBM i Programming Tools
    · Programming in RPG, COBOL, CL, Java
    · Web Development

    SQL, DB2, QueryProduct features:
    · Runs in every popular browser
    · Available 24/7/365
    · Free Student Reference Guides
    · Free Student Administration
    · Concurrent User License
    · Built-In IBM i Simulator

    You can download our 200-page catalog and take sample sessions at MantaTech.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    PowerTech:  FREE Webinar! Reduce the Cost and Effort of IBM i Auditing. Sept. 29, 10 a.m. CT
    looksoftware:  RPG OA & Beyond Webinar. Sept 28 & 29. Enter to win an Amazon Kindle™
    COMMON:  Join us at the Fall 2010 Conference & Expo, Oct. 4 - 6, in San Antonio, Texas

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    Is RFID Heyday Just Around the Corner? Power 720: Same Entry Price, But More Room to Grow at Less Cost

    Leave a Reply Cancel reply

Volume 10, Number 28 -- September 22, 2010
THIS ISSUE SPONSORED BY:

WorksRight Software
SEQUEL Software
Twin Data Corporation

Table of Contents

  • Get Thee to the Web, Part 3
  • Merge Into the Synchronization Fast Lane with DB2 for i 7.1
  • Changing i/OS Password Expiration Settings

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle