Password Expiry

35 pts.
Tags:
AS/400 user permissions
RPG IV
RPG/400
Hi,if i want to change my password after 15 days ..then plz gv me a coding for that in rpgiv....
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,
create a CLP and use CHGPWD command to change your password.

Discuss This Question: 2  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.
  • Vatchy
    You can also execute the external command CHGPWD from within an RPG program. You can also use the QSYSUPWD API: QSYSUPWD
    1,415 pointsBadges:
    report
  • TomLiotta
    You can also use the QSYSUPWD API In general, the QSYSUPWD API cannot be used to change your password unless you first break the encrypted password scheme. For the general question, password maintenance is not a RPG IV function. RPG is a business data processing language. Use CL to manage password changes. Of course, you can use RPG to call CL procedures or programs or to call APIs that execute CL commands. In any case, RPG isn't appropriate for the task. Tom
    125,585 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: