User cannot be deleted on a Security Analytics appliance prior to version 7.2.2
Last Updated May 13, 2017
Deleting a user would clean up various files and directories which may have been used by that user. If one of the expected files or directories did not exist, the delete procedure would fail. This would leave the user in some places, but not others.
This is fixed in Security Analytics 7.2.2 and greater.
Determine if the user is in /etc/passwd and the database. For /etc/passwd, run this command:
grep the_user_name /etc/passwd
For the database run:
echo "select username from users" | su - postgres -c "psql -d dsweb"
The user is typically not in /etc/passwd. If the user is in the users table, then run:
echo "delete from users where username='the_user_name'" | su - postgres -c "psql -d dsweb"
Replace the_user_name with the user you have identified. The quotes must remain the same.
This should delete the user. Upgrade to the most current release to prevent future issues.
Imported Document ID: 000032924
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe