AS/400 – time limited user account

30 pts.
Tags:
AS/400
AS/400 administration
User access
Is it possible to create (or change existing) user account - active in limited time? We have to create accounts for users working for example 2 months

Software/Hardware used:
AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TomLiotta
    Simplest way might be to put a CHGUSRPRF STATUS(*DISABLED) command into the job scheduler to have it run two months from now. You could also have a file that lists user profiles and dates. Schedule a program that runs every day to read the file and disabled ones that match for that date. There is no built-in function that will disable a profile at some future date. -- Tom
    125,585 pointsBadges:
    report
  • ToddN2000

    You could also check the user profile setting and have it set to expire the password in a certain number of days.  Password expiration interval = 60

    87,915 pointsBadges:
    report
  • TomLiotta
    You can expire passwords, but that doesn't expire the profile. The person can still use the profile to logon simply by setting a new password. -- Tom
    125,585 pointsBadges:
    report
  • chypcik
    Thanks a lot.
    30 pointsBadges:
    report
  • Gayathri123
    From V7R1, we have a parameter called " User Expiration date" in CRTUSRPRF command, where you can specify the expiration date for the user.
    540 pointsBadges:
    report
  • ToddN2000
    Set the user expiration date if needed it specifies the date when the user profile expires and is automatically disabled or deleted. If a value is specified in the user expiration interval field, the system generated the user expiration date using the specified interval. The value *NONE indicates the user profile will not expire.
    87,915 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: