I have a Java application that calls iSeries commands. The user that's using the application needs LMTCPB *NO. The Java class imports the com.ibm.as400.access* from the jt400ntv.jar and then it creates the CommandCall class to call iSeries commands (CHGLIBL, CHGCURLIB, ADDLIBLE, CHGDTAARA, etc.). How can I avoid giving the user LMTCPB *NO? Also, do you know of another way to call iSeries commands?
The CommandCall class must be making a call to the OS/400 interface that processes CL commands. Anytime this interface is used, the limited capability of the user will be checked. You have a couple of options, you can change the Allow limited user attribute of selected commands (using the CHGCMD command) to allow the commands to be run by a limited capability user. (The default is to not allow the command to be run by a limited capability user.) Or, you can use an interface, such as REXEC that does not check the limited capability parameter.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Search400's targeted search engine: Get relevant information on security.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Check out this Search400.com Featured Topic: Top ten security tips
Dig Deeper on iSeries system and application security
Related Q&A from Carol Woodbury
Before changing password levels and upgrading operating systems on the AS/400, ensure the clients connecting to the NetServer do not need the old ... Continue Reading
Look in the audit journal (QAUDJRN) on the AS/400 for an authority failure message with the name of the library as the object name. Use the ... Continue Reading
On AS/400, the journal type AF subtype K, shows that a user profile lacks the special authority required by the function attempting to run. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.