You are not authorized to execute command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

You are not authorized to execute command

L3 Networker

Hi Team,

 

We have a big problem. User execute following command directly in the system even using HTML GW or Putty session over PAM. But when user connect to system with other tools(like XSHELL or SecureCRT) over PAM we see the "You are not authorized to execute command" error. AlsoCommand Access Control and OPM are not being used. Pls assist for that.

 

Note: Also 1 other community user asked about that but not answered yet - https://community.cyberark.com/s/question/0D5Ht0000A79vgfKQA/error-%D1%83ou-are-not-authorized-to-execute-command-when-using-midnight-commander-via-psmp

5 REPLIES 5

L3 Networker

Field_Content_versions_oct20__068Vy00000Wf0OKIAZ.png

L7 Applicator

Hi @Maharram Najafov​ 

 

If I understand correctly, the user is able to execute the command when session is made via PSM.

 

Please note, some environments include logic in .bash_profile , /etc/profile, or PAM modules to detect SSH client type or source IP, and restrict access conditionally.

 

The best to check with your Unix team as they will be able to advise you if such controls are in place.

 

Hope it helps !

L4 Transporter

Hello @Maharram Najafov​ 

 

Have you received an answer to your question? If so, we kindly encourage you to share it with us.

Your insights could be valuable to other community members in the future.

 

Thank you, Isar.

L2 Linker

Hi @Maharram Najafov​ ,

did you resolve the issue?

I hit the same problem.

Just when using PSM for SSH.

Other ways of connection are not impacted - meaning : not a problem of target server.

 

Filiip

L2 Linker

Not exactly a solution...but if you disable Command Access Control (on a platform level) it will start working.

  • 160 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!