How do I grant a user profile command line access?

Tags:
as/400 i series command line
How do I grant a user profile command line access?
1

Answer Wiki

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

It’s a parameter setting in the profile you should be able to change if you have authority to the command CHGUSRPRF and access to that profile. I don’t think it’s any different depending on what release you are on.

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.
  • Subhendu Sen

    What OS is there ? What is the environment is there like shared/ standalone ? What did you mean by command line access? Did you mean CMD/ Command Prompt?

    Please provide more details.

    137,090 pointsBadges:
    report
  • TheRealRaven
    Please clarify "command line access".

    If your system is set up for only menu-based access and menus don't include command lines, you may need to customize menus for that user only.

    There are as many ways to grant "command line access" as there are various system configurations and developers. We need to know details about the general system interfaces that you use and the user's profile in order to suggest a direction.

    It might be as simple as changing a profile attribute or two. Or it might require creating new interfaces.
    34,465 pointsBadges:
    report
  • TheRealRaven
    In many cases, the simplest way might be:
    CHGUSRPRF USRPRF( myusrprf )
              ATNPGM(QSYS/QUSCMDLN)
    The user can then "access" a command line by pressing whatever key is mapped to <Attn>
    34,465 pointsBadges:
    report
  • TheRealRaven
    But that can cause trouble if improper commands are entered when various programs are being run. We have no way to know your user's environment.
    34,465 pointsBadges:
    report
  • ToddN2000
    I agree with raven, be cautious as to who you give access to. Too much power there. If it's only for the user to access a few specific commands I would create a custom user menu with these commands only to be safe. 

    131,645 pointsBadges:
    report
  • Subhendu Sen

    Be cautious, when configuring permissions for users. This is a crucial issue. Here is a good reference & concepts, https://search400.techtarget.com/answer/Restricting-specific-user-command-line-access

    137,090 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: