Skip to content

Commit

Permalink
password-hardening: Add support to disable expiration date like in Li…
Browse files Browse the repository at this point in the history
…nux (PAM) (#17426) (#17674)
  • Loading branch information
mssonicbld committed Jan 4, 2024
1 parent 388457a commit ca2695f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sonic-yang-models/yang-models/sonic-passwh.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca2695f

Please sign in to comment.