Q
Manage Learn to apply best practices and optimize your operations.

User authorities required to run a proceedure on another platform

If a program automatically transfers a file from Windows to AS/400 and then runs the program on the AS/400, certain user authorities must be given in order for the program to run.

We have PERL script to transfer file from Windows to AS/400 and run a command (on AS/400) as well after completing the transfer. The problem is that it uses admin privileges to run the command and requires admin privileged user to be logged in.

Is there any alternate way of doing the same thing?

Any procedure running on other platorm that requires you to transfer the file and then run a remote command on the server (PERL-based or not) does not require admin rights but it should have the following authorities available:
  • User used for signon should have *change authority to the target library
  • User used for signon should have the parameter "limited capabilities" set to *no.
  • If the as400 is using a security package to control remote activities (Such as ftp and remote command) the package should be configured to allow the operation.

This allows access for a user with the following profile:

CRTUSRPRF USRPRF(FTPUSER)
PASSWORD(somepwd)
USRCLS(*USER)
INLMNU(*SIGNOFF)
LMTCPB(*NO)
TEXT('Ftp and remote command user')

Dig Deeper on Remote Access to iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close