How to Verify an Existing User on AS400

Posted on 2009-12-30
Last Modified: 2013-12-06
Let me first preface this by saying I am not an AS400 expert at all. I work more on the software end at my client. However, the users have reported that a user account on the AS400 has been disabled. I guess a user was trying to signon to the software that has the DB on the 400 and couldn't get on. after trying 3 times it disabled the account on the 400.

So, I just need to figure out where to go on the 400 to view and enable this account.

I can get signed onto the iSeries. Just need to know the Commands to pull up this user.
Can someone help me with this? Thanks!
Question by:matrix0511
    LVL 34

    Accepted Solution

    Green-screen commands to manipulate user profile objects include:

    WRKUSRPRF (Work with user profiles), DSPUSRPRF (Display), and CHGUSRPRF (Change).  

    Before you get started, be aware that changing a user profile (like you do when you reenable it) requires *SECADM special authority and *USE and *OBJMGT rights to the profile.  If you get stuck, sign on as the QSECOFR, or using the user-defined security officer profile.

    If you know the name of the profile, on the command line, type

    CHGUSRPRF profilename

    and then press function key F4 without hitting enter.  This will prompt all of the parameters for the command in "fill-in-the blank" style, and it will pull in the current setting for the profile.  Change the STATUS to *ENABLED.

    You can also do this all directly from the command line in a single command:


    You can also use this command to set the password to anything you like by specifying the PASSWORD() parameter.  Here's the IBM Information Center topic for this command:

    - Gary Patterson

    Check out my EE profile:
    LVL 13

    Assisted Solution

    Use Work with User Profile command:
    WRKUSRPRF <user name>
    Use option 2 to change the profile, setting *DISABLED to *ENABLED.
    You can also set the password on the same screen, and expire it so they will have to change it when they sign on, if required.
    If you need more help, post back!

    Author Comment

    Thanks guys (Gary/Barry), I will try your suggestions.

    And thanks for the very quick response!

    Will let you know.


    Author Closing Comment

    Thanks! All your suggestions worked. I really appreciate you quick responses!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
    Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
    This video discusses moving either the default database or any database to a new volume.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now