fhg
Volume 10, Number 12 -- March 31, 2010

Implementing 128-Character Passphrases in i/OS

Published: 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


Sponsored By
NORTHEAST USER GROUPS CONFERENCE

20th Annual Northeast IBM i
User Groups Conference
April 12 - 14, Framingham, MA

3 Days of Affordable, Quality Education

                                       · 80+ sessions: RPG & Programming Tools, SQL & Database,
                                         Security, Systems Management, Web Development, and much more
                                       · Top industry speakers; in-depth labs & workshops
                                       · Your best training value for 2010

View Conference Brochure
and Register Today!

www.neugc.org


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Erwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

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


 
The Four Hundred
Power7: Upgrade or Sidestep, Start Planning Now

IBM Flexes Java Muscles on Power7 Iron

IBM Looks Back on 2000s, Sets Sites on Next Decade

As I See It: A Different Currency

Madoff's RPG Coders Indicted in Ponzi Scam

Four Hundred Stuff
CoralTree Toolkit Streamlines CGIDEV2 Web App Development

Info Builders Updates Dashboarding Solution

Unitrends Adds Cloud-Based Storage to Backup Offering

HiT Bolsters Data Synchronization Tool

LTO Tape Drives: More than 3 Million Served

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
March 27, 2010: Volume 12, Number 13

March 20, 2010: Volume 12, Number 12

March 13, 2010: Volume 12, Number 11

March 6, 2010: Volume 12, Number 10

February 27, 2010: Volume 12, Number 09

February 20, 2010: Volume 12, Number 08

TPM at The Register
Ex-contender for top IBM job pleads guilty on securities charges

AMD claims no premium for four-way chips

AMD draws x64 battle lines with 'Magny-Cours'

Intel Xeon 5600 invade big name servers

IBM: Mainframe emulator part of a conspiracy

Sun grows Oracle but stunts profits

HPC propped up server sales in 2009

Reseller exposes Opteron 6100 speeds and prices

QLogic spans Dell's InfiniBand

Red Hat all black in Q4

HP juices gamestations with Intel 'Westmeres'

Dell mainstreams cloud servers

THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
Northeast User Groups Conference


Printer Friendly Version


TABLE OF CONTENTS
Variable Procedure Calls in Free-Format RPG

Global Temporary Tables and Host Variables

Implementing 128-Character Passphrases in i/OS

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2010 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement