Error Уou are not authorized to execute command when using Midnight Commander via PSMP.

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

Error Уou are not authorized to execute command when using Midnight Commander via PSMP.

L1 Bithead

Hello.

 

Customer encounters error You are not authorized to execute command in PSMP-SSH connections when using Midnight Commander v 4.8.7. Operation System on TS is Oracle Linux 7.9 (EN). PSMP version is 12.2.5.17.

Field_Content_versions_oct20__068Ht00000SptKlIAJ.png 

In the PSMPTrace.log we can see:

Reason: ITATS921E Internal error occurred when writing log record (diagnostic information = 361, 4). .. Rc: [-1531921] (Message data: [u_m1h7y CLK2-RETAIL Root\Operating System-UnixviaSSH-clk2auth1.intra.net-wlsadm Command=(DENIED) ┌<─ /WLS/instances/op2clkoid1/diagnostics/logs/OID/oid8 ─────────────────────────────────────────────── 

 

Also there are two unrecognised symbols in the Trace.log (see screenshot below):

Field_Content_versions_oct20__068Ht00000SptLKIAZ.pngAs Customer said Command Access Control and OPM are not configured.

 

Is this a bug? Can upgrade to 13.2 help with this issue?

 

There is a similar error in this article:

KI#00009204: ITATS921E Internal error occurred when writing log record when writing audit

 

 

5 REPLIES 5

L7 Applicator

Hi @Eugene Vayman​ It seems to me that the permissions are not available to account using which user is trying to execute command. The permissions would need to be assigned to account on the .mc directory. As you mentioned, the Command Access Control and OPM are not being used. Hence I'm assuming that PSMP / CyberArk is not restricting any command execution. The way other way to validate this point is to connect to the target Unix host directly (not via PSMP) and see whether the user is able t execute the command. Hope this helps!

Hello.

Thanks for answer.

Customer says the direct connection works as expected (with no errors). Test connections via PSM are established correctly too.

L1 Bithead

Hey @Eugene Vayman​ 

 

Did you ever find out what was causing this issue ?

 

We are getting getting the same issue with our PSMPs.

 

Error Trace from PSMPTrace.log :

 

:: | PSMPSC001E Session common exception occurred. PSMPSC129E Failed to write audit log record on Object [Root\xxxx_adm-yyyy-xxxx-adm] in Safe [xxxx_adm]. Reason: CASTM003E Vault transaction failed. Reason: ITATS921E Internal error occurred when writing log record (diagnostic information = 361, 4). .. Rc: [-1531921] (Message data: [xxxxxxxx_admRoot\xxxx_adm-yyyy-xxxx-admCommand=(DENIED) <0> all <ctrl-d> Delete <shift-f> Port-Forward <1> bc2-pwe-dev <d> Describe <r> Restart <2> default <e> Edit <s> Scale <3> ca-sba-d <?> Help <f> Show PortForward <l> Logs <y> YAML <p> 

L3 Networker

Hi @Eugene Vayman​ ,

 

Did u found any solution ?

Same here, i'm looking for a solution 😉

  • 1549 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!