Password Hardening: Add support to disable expiration date#93
Conversation
3459dd9 to
7daab08
Compare
|
@davidpil2002 please check it can be cherry picked to all the branches starting of 202205 as the bug is related to them as well |
checked, no conflict exist with 202205, 202211, 202305, 202311 |
|
i have no permission on this repo. |
It will not break anything, but, in order to fix the bug I need both. |
|
@StormLiangMS Tested on top of 202305 commit sonic-net/sonic-buildimage@690c4c5 |
tests/hostcfgd/sample_output/PASSWORD_HARDENING_enable_digits_class/login.defs
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi @liuh-80, |
|
@lguohan @qiluo-msft please help with the approval flow. this is on hold for quite sometime. must for 202405. needed for other active branches as stated. |
|
@liuh-80 @qiluo-msft |
|
Cherry-pick PR to 202405: #163 |
* password-hardening: Add support to disable expiration date like in Linux (PAM) * password-hardening: Fix default return of dict to -1 instead None
[password-hardening]Add support to disable expiration date like in Linux.-1: expiration will never occur, 0: expiration will expire immediately
This commit is part of the fix to the following bug:
sonic-net/sonic-buildimage#17427