Skip to main content
Prudhvi Keertipati
Guru
February 6, 2026
Question

PMUL Policy Scripts: ACA

  • February 6, 2026
  • 1 reply
  • 40 views

Hi everyone,

I’m trying to use aca to block some commands after user switch to a root account using pbrun. But I’m not able to achieve it, below is the sample script I have. Please suggest the changes to effectively use aca to block commands.

bash is an alias command to switch to root user. I can still run whoami command after switch to root.

if (command == bash){

aca("file", "/use/bin/whoami", "!all", "BLOCK");
accept;

}

 

Thanks,

1 reply

BeyondTrust Employee
February 9, 2026

Hello Prudhvi,

Are you using role based policy,  have defined a role with bash as one of the commands in the command group and want to block some commands for users with that role ?