Can't change the password for a SUSE Linux account using CPM

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

Can't change the password for a SUSE Linux account using CPM

L3 Networker

I can verify Passwords, but i can't change them using CPM on SLES systems

I get the following two errors

Current password is invalid while trying to change password.

Invalid new password while sending new password verification.

 

The same platforms have no issues on Ubuntu or Rocky Linux.

 

I am assuming it is something in the SUSE (these are the SAP hardened SUSE images in Azure) config but I am struggling to work out what.

Any one seen similar issues?

1 accepted solution

Accepted Solutions

L7 Applicator

Hi @Jeremy Roberts​ 

 

There are few things to check here,

 

  1. Password complexitiy defined on SLES systems. Have a look at PAM (Pluggable Authentication Modules) on SLES system which might be enforcing strict password complexity rules and update CPM password policy accordingly.
  2. Another part is to check password aging policy.
  3. Third one to check is Prompt mismatch. Manually login to SLES systems and note all the prompts and then validate the prompt strings for NewPassword and VerifyNewPassword exactly match the prompts returned by the SLES system in UnixPrompts.ini file.
  4. And you can also you can try increasing the SendDelay or SendHuman=Yes in UnixProcess.ini to slow down transmission of the password. This will allow session and the target system more time to process the input characters.

 

 

Hope it helps !

View solution in original post

4 REPLIES 4

L7 Applicator

hey @Jeremy Roberts​ 

I would recommend increasing debug to review the expect, console, and other applicable logs for this request. They should show what is being sent by the system and also what is being received by the target.

 

My guess is that the password is being sent with unknown characters, you'd see: '?', due to timeouts/send-rate issues while the characters are trying to be sent. This is just a guess, though and the logs should show if this is accurate.

 

-Matt

L4 Transporter

Hi @Jeremy Roberts​ ,

 

Check the minimum password age of the account on target server.

( #chage -l username )

 

The issue can be due to minimum number of days between password change was set higher than the password rotation policy of the platform. Or your manual rotation attempts.

L7 Applicator

Hi @Jeremy Roberts​ 

 

There are few things to check here,

 

  1. Password complexitiy defined on SLES systems. Have a look at PAM (Pluggable Authentication Modules) on SLES system which might be enforcing strict password complexity rules and update CPM password policy accordingly.
  2. Another part is to check password aging policy.
  3. Third one to check is Prompt mismatch. Manually login to SLES systems and note all the prompts and then validate the prompt strings for NewPassword and VerifyNewPassword exactly match the prompts returned by the SLES system in UnixPrompts.ini file.
  4. And you can also you can try increasing the SendDelay or SendHuman=Yes in UnixProcess.ini to slow down transmission of the password. This will allow session and the target system more time to process the input characters.

 

 

Hope it helps !

L4 Transporter

Hi @Jeremy Roberts​  ,

Thank you for engaging with the community! Since several members have shared solutions to your question, could you let us know if any of them resolved your issue?

If so, please consider marking the most helpful response as “Select as Best”, this helps others with similar questions find the right answer quickly.

Thanks for your contribution!

Shaked

  • 1 accepted solution
  • 102 Views
  • 4 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!