Bad - Corrupted GID in the /etc/passwd file
search cancel

Bad - Corrupted GID in the /etc/passwd file

book

Article ID: 263319

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

With PAMSC upgraded to 14.1 cp05, we see a bad/corrupted gid in the /etc/passwd (whereas we see the good gid in selang) after creating a user.

CA Privileged Access Manager Server Control selang v14.10.50.61 - command line interpreter
Copyright (c) 2018 CA. All rights reserved.


PAMSC> eg giduser unix
(localhost)
Successfully created GROUP giduser
(localhost)
Unix :
======
Successfully created GROUP giduser
PAMSC> eu giduser unix(pgroup(giduser))
(localhost)
Successfully created USER giduser
(localhost)
Unix :
======
Successfully created USER giduser
PAMSC> !grep giduser /etc/passwd /etc/group
/etc/passwd:giduser:x:101:101::/home/giduser:/bin/sh
/etc/group:giduser::101:
PAMSC> eu giduser unix(pgroup(giduser))
(localhost)
Successfully updated USER giduser
(localhost)
Unix :
======
Successfully updated USER giduser
PAMSC> !grep giduser /etc/passwd /etc/group
/etc/passwd:giduser:x:101:-140724603453339::/home/giduser:/bin/sh
/etc/group:giduser::101:
PAMSC>

Environment

PAM Server Control 14.1 CP5

Cause

There was an issue in the code which was causing the corruption.

Resolution

The issue was fixed in 14.10.50.73, all newer endpoints have the fix included. Please upgrade to the newest build.

Additional Information

The newest PAMSC build can be downloaded from the link below.

CA Privileged Access Manager Server Control Endpoint Compatibility Matrix