• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Setting Up User Profiles Without Passwords

    March 29, 2006 Hey, Joe

    I’m a little confused as to what happens when you set a user ID’s Password parameter (PASSWORD) to *NONE. I’m not sure whether it determines if a password is or is not required for that user to log on to the system. A little explanation here would be helpful.

    –Mukesh

    Setting a user’s password to *NONE is a relatively simple concept, but it has a few confusing aspects. Here’s how it works.

    You can set the User Password parameter to *NONE when you create the user profile or when you run the following Change User Profile command (CHGUSRPRF):

    CHGUSRPRF USRPRF(user_profile_name) PASSWORD(*NONE)

    User passwords can also be set to *NONE in the iSeries Navigator’s user Properties screen. You can navigate to this screen by opening the Users and Groups, then the All Users mode in iSeries Navigator, right-clicking on the user profile you want to change, and then selecting Properties from the pop-up menu that appears. Once you’re on the user’s Properties screen, click on the Password dropdown box and select No password (sign-on not allowed) and save your new user properties.

    Changing a user profile password to *NONE prevents a user from interactively signing on to an i5, iSeries, or AS/400 system. It essentially disables a user from performing any type of interactive work on the system, including starting a 5250 telnet session, performing an FTP transfer, or reading and updating system information through ODBC or JDBC. When a no-password user profile tries to start a 5250 telnet session on an i5 partition, for example, it will receive a CPF1118 message, No password associated with user &1 (where &1 is a parameter containing the user profile name). If the user password was changed to *NONE through iSeries Navigator, you may also see a CPF1193 message, User Profile &1 cannot sign on, when the user tries to start a 5250 session.

    But just because a user profile does not contain a password, it does not mean that profile cannot be used to perform work on the system. There are two specific situations where it is extremely handy to use user profiles without passwords for system functions.

    • No-password user profiles can be used as group profiles. As mentioned in an earlier column I wrote about configuring group profiles, a group profile should never be allowed to sign on to perform interactive work on a system. This is because there is no easy way to change a group profile for user-specific changes without also affecting the many other user profiles that depend on that profile for object authorization. An active user profile that cannot sign on to your partitions can be the perfect vehicle for authorizing which system objects other users can access.
    • No-password user profiles can be used to run server or batch jobs. Although user profiles without passwords cannot perform interactive work, they can be used to run batch jobs, because a user is not required to sign on to the system to run batch work. Jobs can be submitted to run under a particular user profile without requiring that user to sign on.

    So if you want to run a batch job under a user profile that has no password, you can submit the job for batch work with a Submit Job command (SBMJOB), like this:

    SBMJOB CMD(CALL PGM(library/program_name)) JOB(job_name) USER(no_password_user)

    And this job will run just fine in batch mode. In fact, several IBM-supplied user profiles that are solely used for i5/OS server functions are now shipped without a password. This is also a great technique for running nightly batch jobs where you want all of your nightly jobs to run with extended authorities under a single user profile that will never be allowed to sign on.

    The other issue that administrators run into with no-password users is in identifying which users do and do not require passwords to sign on to the system. When viewing individual user profiles on the green screen by using the Display User Profile command (DSPUSRPRF) or in an iSeries Navigator user Properties screen, there is no option that tells you whether a user is set up with a password of *NONE.

    However, you can produce a list of all user profiles and whether or not they have a password by using the Display Authorized User command (DSPAUTUSR), like this:

    DSPAUTUSR SEQ(*USRPRF)

    DSPAUTUSR will display all the user profiles defined on your system and whether or not each profile has a password. If a user profile’s PASSWORD parameter contains a value of *NONE, an “X” will appear for that profile under the column marked No password. To print this display as a spooled file report, run DSPAUTUSR using these parameters.

    DSPAUTUSR SEQ(*USRPRF) OUTPUT(*PRINT)

    As a side issue, DSPAUTUSR can also be run to display the same user profile information sorted by group membership. So if you want to see whether or not your group profiles are set up with a password, you can run DSPAUTUSR this way.

    DSPAUTUSR SEQ(*GRPPRF) OUTPUT(*)

    And those are the ins and outs of creating a user with no password. As I said, it’s a very easy technique to implement as long as you understand the way the system works.

    –Joe

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    SoftLanding Systems:  TurnOver Change Management for a more productive WDSc environment
    Computer Keyes:  Rapidly convert *SCS printer files into black and white or full color PDF documents
    Maximum Availability:  Secure, cost-effective, real-time iSeries replication software solutions

    Sam Palmisano Invites Me to India IBM Hints at Triple Redundancy in Power6

    Leave a Reply Cancel reply

Volume 6, Number 13 -- March 29, 2006
THIS ISSUE SPONSORED BY:

Advanced Systems Concepts
WorksRight Software
Bug Busters Software Engineering

Table of Contents

  • What’s New in V5R4 COBOL?
  • How Many Rows Did SQL Fetch?
  • Setting Up User Profiles Without Passwords

Content archive

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

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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