Cannot Delete PAMSC User With Trailing Space
search cancel

Cannot Delete PAMSC User With Trailing Space

book

Article ID: 407786

calendar_today

Updated On:

Products

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

Issue/Introduction

I created a user in PAMSC and accidentally added a space at the end of the username. I have tried to remove the user with the ru command, but selang was unable to find the user. How can I delete the user?

PAMSC> ru testspace 
(localhost)
ERROR: Failed to fetch data for USER testspace

Cause

The selang interpreter was removing the trailing space, so it was trying to delete user "testspace" rather than "testspace ".

Resolution

To have the space included in the username, put the username in quotation marks. However, selang requires parentheses around the quotation marks in order to interpret them properly.

PAMSC> ru ("testspace ")
(localhost)
Successfully deleted USER testspace