Getting below error while installing PSMP. error: Failed to reset user password: [PSMConnect]. Error code: [1]. Please help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting below error while installing PSMP. error: Failed to reset user password: [PSMConnect]. Error code: [1]. Please help

L3 Networker
3 REPLIES 3

L6 Presenter

@Pradeep Shetty​ ,

 

The issue is typically the result of the customer's Linux OS image having security settings defined which do not allow a newly created local Linux account to be set with a blank/empty password or there is a requirement set that all newly created local accounts are created as "expired" where their password must be reset on first login. The PSMP process relies on the PSMConnect account to be created with a blank/empty and non-expiring password in order for the transparent PSMP connection process to function seamlessly. 

 

 

SOLUTION: 

 

For 9.9+: 

 

Since PSMP version 9.90, during the installation, we create the PSMConnect user without any password. That is why now pam_unix default nullok option should not be removed. 

 

If Access Denied is shown while trying to connect, then make sure on PAM configuration that nullok is defined for the pam_unix auth. 

 

For example at /etc/pam.d/password-auth: 

 

> auth sufficient pam_unix.so nullok try_first_pass

 

If the file looks ok, please do the following: (example)

 

# id PSMConnect

 

# vi /etc/passwd

 

Create the entry manually in the file

 

PSMConnect:x:1001:1001::/home/PSMConnect:/opt/CARKpsmp/components/psmperformsession

 

If there already is an entry, you can try and reset the password using:

 

# passwd -d PSMConnect

 

Also make sure that in the /etc/ssh/sshd_config you have:

PermitEmptyPasswords yes

 

L3 Networker

Thanks Che.

You saved my day @Che-Wing Cheung​ .

Thanks much.

  • 1334 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!