password-hardening: Add support to disable expiration date like in Linux (PAM) (#17426) (#17674)

This commit is contained in:
mssonicbld 2024-01-05 00:44:19 +08:00 committed by GitHub
parent 388457aaf8
commit ca2695f4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,14 +28,14 @@ module sonic-passwh {
}
leaf expiration {
description "expiration time (days unit)";
type uint16 {
range 1..365;
type int16 {
range -1..365;
}
}
leaf expiration_warning {
description "expiration warning time (days unit)";
type uint8 {
range 1..30;
type int8 {
range -1..30;
}
}
leaf history_cnt {