Description

This article provides the workaround to resolve the error 'minimum-reuse configured, use plain-text-password to configure password', which gets encountered while committing the user password.

Symptoms

The symptoms for this issue are listed below.

1. Error sample mentioned below will be seen while committing the password for the user.

error: minimum-reuse configured, use plain-text-password to configure password
/var/run/db/private/juniper-96775.patch:2:(118) invalid value: 
$ABC123
[edit system login user user1 authentication encrypted-password]
'encrypted-password $ABC123'
invalid value

2. The below mentioned configuration statement can be found in the current configuration.

set system login password minimum-reuse

Solution

If the device is configured with the 'minimum-reuse' command under the system login, then, if an attempt is made to commit the configuration via configuration mode, this error will be thrown by the system. 

The commit of the encrypted password is unsupported if the 'minimum-reuse' has been configured.

To resolve this error, please follow below steps.

1. Login in to the device.
2. Go to configuration mode, using configure exclusive command. In some instances, 'exclusive' might not auto-complete, hence, type the complete command to enter the configuration mode.
3. Configure the user password as plain text.
4. Commit the configuration.

Modification History

2024-03-19 : Article Created
2024-06-18 : Article Formatted and Published
2024-07-25 : Added the symptom and explanation in the solution along with workaround steps
2024-07-28 : Formatted the symptom section