How to configure ControlMinder rules so that ordinary users can execute root commands using sesudo

book

Article ID: 33278

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

Introduction:

How to configure ControlMinder rules so that ordinary users can execute root commands?

This example demonstrates how to mount a CD volume in Linux/Unix as an ordinary user.

 

Instructions: 

In selang on the local UNIX host

AC> eu dummy password(itsPWD) unix
AC> authorize program /opt/CA/AccessControl/bin/sesudo uid(dummy)
AC> er surrogate USER.root owner(root) defaccess(r) audit(all)

AC> authorize surrogate USER.root uid(dummy) via(pgm(/opt/CA/AccessControl/bin/sesudo))
AC> er sudo usermount data(/bin/mount) audit(s,f)
AC> authorize sudo usermount id(dummy)

 


Login as user dummy and execute

$ /opt/CA/AccessControl/bin/sesudo usermount /dev/sr0 /media/

 

Additional Information:

For more information about the sesudo utility, see the Reference Guide.
https://wiki.ca.com/display/CMINDER12901/sesudo+Utility

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component:

Resolution

.