Problem description
The installation of the CMS software on Redhat 7.5 reported an error.

Analysis progress
1. Collect the logs regarding the Maintenance.
2. Found that the CMS failed to obtain the get /home/cms/.bashrc file.

3. The user exists before installation, but there is a problem with the permission being denied.

4. Verify whether the user is manually created.
5. Verify whether the CMS was installed by the maintenance assistant.
6. Check which group /home/cms belongs to and the permissions to access.
7. Check whether the /home/cms directory is completely deleted or not.
8. useradd-d /home/cms -g icd -s /bin/bash -m cms to check the user attribute.

9. Change the /etc/passwd user attribute to /usr/bin/csh.
Root cause
The user attribute error made the CMS impossible to be installed. The userpreviously was deleted but not completely.

Solution description
1. Uninstall the CMS software installed before.
2. Manually create the CMS user useradd -d /home/cms -g icd -s /bin/bash -m cms, modify the cmsuser uid to 1381 (customer requirements):
chmod 750 /home/cms
3. From the CMS server installed on the UAT environment, copy the .bashrcand .bash_profile files in the /home/cms directory to the /home/cms directory of the production.
4. Configure the maintenance assistant to change the execution script userto cms and then use the maintenance assistant to install cms successfully.