• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Implementing 128-Character Passphrases in i/OS

    March 31, 2010 Hey, Joe

    To satisfy regulatory requirements, we must change our i/OS password strategy so that the system accepts up to 128-character passphrases using any keyboard character, including spaces. We currently use 10-character passwords. How do I make this change?

    –Len

    It’s easy to activate passphrases on iSeries, System i, and Power i systems. For readers not familiar with the concept, a passphrase refers to a password scheme that allows for very long passwords with few restrictions on character content.

    Setting up passphrase support on an i/OS or OS/400 partition requires you to change the following three system values.

    1. Password level (QPWDLVL)–Specifies password length and the basic password composition scheme on your system. QPWDLVL can be set to one of the following four values.

    Zero (0)–Standard password support level that was shipped with your system. Passwords can only contain a maximum of 10 characters and the only allowable characters are A-Z, as well as the dollar sign ($), ampersand (@), number sign (#), and underscore (_) characters. No other characters are allowed. No distinction is made between upper- and lower-case letters. Level zero also stores passwords for iSeries NetServer compatibility with Windows 95, Windows 98, and Windows ME machines.

    One (1)–The same support as password level zero, except that the system no longer provides iSeries NetServer password compatibility for Windows 95/98/ME machines.

    Two (2)–Allows you to enter passwords that are from 1 to 128 characters long. Like level 0, it retains password compatibility for Windows 95/98/ME machines. Level 2 allows you to use any keyboard character and users can also use upper- and lower-case letters in their passwords.

    Three (3)–Provides all the same capabilities as level 2, except that it doesn’t support Windows 95/98/ME systems using iSeries NetServer.

    To enable 128-character passphrase capability on your system, use the following Change System Value (CHGSYSVAL) command to change QPWDLVL support to level 2 or 3.

    CHGSYSVAL SYSVAL(QPWDLVL) VALUE(2)
    

    Or. . .

    CHGSYSVAL SYSVAL(QPWDLVL) VALUE(3)
    

    Note that these commands only change the QPWDLVL system value. Actual password support for 128-character passphrases is not enabled on your system until you perform an IPL. Use the following Power Down System (PWRDWNSYS) command to restart your system during a convenient time.

    PWRDWNSYS RESTART(*YES)
    

    2. Maximum password length (QPWDMAXLEN)–Specifies the maximum password length your system will accept. If you are currently at password level 0 or 1, this value is set between 1 and 10. For your purposes, change QPWDMAXLEN to 128 (its maximum value) by using the following Change System Value (CHGSYSVAL) command.

    CHGSYSVAL SYSVAL(QPWDMAXLEN) VALUE(128)
    

    The only limitation on Maximum password length is that it must be equal to or greater than the Minimum Password Length (QPWDMINLEN) system value. This change takes effect the first time someone attempts to change their password.

    3. Minimum password length (QPWDMINLEN)–Specifies the minimum password length your system will accept. For password levels of 0 or 1, this value is set between 1 and 10. To change it to a more realistic value for passphrases (say 15), use this CHGSYSVAL command.

    CHGSYSVAL SYSVAL(QPWDMAXLEN) VALUE(15)
    

    Make sure you understand what the requirements are for minimum password length with 128-character passphrases. It doesn’t make sense to increase your maximum password length to 128 characters and then allow users to enter six character passwords. Set QPWDMINLEN high enough so that your users must enter sufficiently complex passwords in a 128-character pass phrase environment. Like QPWDMAXLEN, QPWDMINLEN changes take effect the first time a user attempts to change their password.

    These three items along with an IPL are all it takes to create your new password setup. However, be careful to watch out for the following pitfalls.

    Prepare your users for the change and make sure they understand the new rules. i/OS 5250 green screens look a little different when they can accept 128-character passwords. Longer passwords may initially confuse your users, leading them to accidentally disable their passwords. Warn your help desk people before you flip the switch.

    Test companion servers that may share passwords with your i/OS partitions. If you have a development system, activate passphrases on that system first to make sure that increasing password length doesn’t affect cross-system connectivity. Thoroughly test this change before going live with longer passphrases on your production box.

    The good news is that expanding your passwords to 128-characters doesn’t affect current passwords on your system. All existing passwords created under password levels 0 or 1 will still work when you change QPWDLVL to support 128-character passwords at levels 2 or 3.

    –Joe



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

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    Lightedge

    Your IBM Power Cloud Strategy Should Start With “Why?”

    Moving IBM i to the cloud isn’t just an infrastructure decision.

    A hardware refresh, data center exit, IBM i skills gap, disaster recovery requirement, or broader cloud initiative can each lead to a very different architecture.

    At Lightedge, we start by understanding what you’re trying to accomplish. Then we look at the workload, application dependencies, resiliency requirements, operating model, and long-term strategy to determine where that workload belongs.

    Managed IBM Power cloud? IBM Power Virtual Server? DR in the cloud? A hybrid architecture connecting IBM Power with AWS or Azure?

    There isn’t one right answer for every IBM i environment.

    Start with the business requirement. Understand the workload. Then decide where it belongs.

    Explore IBM Power cloud, managed services, and hybrid solutions from Lightedge.

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Sponsored Links

    Help/Systems:  Robot/CONSOLE monitors System i resources automatically
    Northeast User Groups Conference:  20th Annual Conference, April 12 - 14, Framingham, MA
    COMMON:  Join us at the annual 2010 conference, May 3 - 6, in Orlando, Florida

    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

    Global Temporary Tables and Host Variables IBM Holds i 6.1 Prices Steady, Slashes Application Server Fees

    Leave a ReplyCancel reply

Volume 10, Number 12 -- March 31, 2010
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
Northeast User Groups Conference

Table of Contents

  • Variable Procedure Calls in Free-Format RPG
  • Global Temporary Tables and Host Variables
  • Implementing 128-Character Passphrases in i/OS

Content archive

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

Recent Posts

  • IBM’s Bob AI Assistant Can Now Live In Your Datacenter
  • Start Where the Data Lives: Best Practices for Taking IBM i Into AI
  • Guru: A Modernization Experiment Using IBM Bob 2.0
  • How Are IBM i Shops Using AI? Fortra and COMMON Want to Know
  • IBM i PTF Guide, Volume 28, Number 34
  • It Is Time Once Again To Take The IBM i Marketplace Survey
  • PHP’s Evolution On The IBM i Platform Continues
  • Protecting IBM i Data For The AI Revolution
  • Guru: Two More Small But Handy RPG Enhancements: LIKE(*EXT) And %LOOKUPNE
  • IBM i Integration Gives Costco Shoppers Real-Time Inventory

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