WFLTDM0106 error while trying to add user to JBoss-cli
search cancel

WFLTDM0106 error while trying to add user to JBoss-cli

book

Article ID: 279395

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager CA Identity Portal CA Identity Governance

Issue/Introduction

After using command add-user.sh you see error:

"WFLTDM0106: file permissions problems found while attempting to update /opt/CA/wildfly-idm/domain/configuration/mgmt-users.properties file"

Environment

Any

Cause

Incorrect command.

Resolution

Issue resolved by using sudo ./add-user.sh

Additional Information

Proper usage:

How to add user to JBoss-cli

Note: the user "username" below is just an example, you can use any name for the user

config@username-vapp-143ga VAPP-14.3.0 (10.0.0.1):/opt/CA/wildfly-idm/bin > sudo /opt/CA/wildfly-idm/bin/add-user.sh

What type of user do you wish to add?
 a) Management User (mgmt-users.properties)
 b) Application User (application-users.properties)
(a): a

Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username: 'username'
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
 - The password should be different from the username
Password :
JBAS015266: Password must have at least 1 digit.
Are you sure you want to use the password entered yes/no? yes
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma-separated list, or leave blank for none)[  ]:
About to add user 'mark' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'username' to file '/opt/CA/wildfly-idm/standalone/configuration/mgmt-users.properties'
Added user 'username' to file '/opt/CA/wildfly-idm/domain/configuration/mgmt-users.properties'
Added user 'username' with groups  to file '/opt/CA/wildfly-idm/standalone/configuration/mgmt-groups.properties'
Added user 'username' with groups  to file '/opt/CA/wildfly-idm/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? no

Now you have the user associated with the Management Realm.