Autorun wrkusrprf at login

pts.
Tags:
iSeries
WRKUSRPRF
I have created a "Support" ID and I would like to Auto run wrkusrprf after the user (Support Desk) signs in to manager user accounts only

Answer Wiki

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

Hi,

You’ll need to make a CL program with the WRKUSRPRF command and change the user profile to run this program as the initial program.

Regards,

Martin Gilbert.

====================================================

You can certainly do it with a CL program, but why not just go straight to the default MAIN menu? WRKUSRPRF The command line is the same.

Better might be a CL program that prompted the CHGUSRPRF command in a loop and waited for entry of a user profile name.

No command line needed. Essentially no chance of getting off into other unrelated areas.

At worst, it could be a simple CL menu program with two or three options like a prompted CHGUSRPRF command.

Tom

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Schmidtw
    You could probably do it with a batch file and have it run as a start-up script. If done as Administrator it would run no matter what user, you could put the files on a server, and implement them on all workstations. START "C:\Program Files\the dir it's in\WRKUSRPRF.exe" should suffice.
    11,330 pointsBadges:
    report
  • mcl
    WRKUSRPRF is an IBM command, executable from an iSeries command line. It is not a PC program with a ".exe" suffix. Martin is right, you'll need a CL program with a call to WRKUSRPRF USRPRF(*ALL) if you want a list of all the user accounts. The "Support" account will also need *SECADM authority to be able to make any changes to the user accounts. Regards Mike
    2,740 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following