]> git.ipfire.org Git - thirdparty/shadow.git/commit
newusers: Add test for creation without aging
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 15 Dec 2025 09:22:15 +0000 (10:22 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 15 Dec 2025 13:51:28 +0000 (14:51 +0100)
commitfd4a8105042fd4a4b9d60145e5fbc4da9b33fa73
tree834848c318cd848e1e76039c554ff58aaed05f39
parent7f59cb5ab347e122e685f95e08298f0a8cd3301a
newusers: Add test for creation without aging

If PASS_MAX_DAYS is not set, newusers should not set max password age.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
15 files changed:
tests/newusers/62_create_user_no_aging/config.txt [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/group [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/gshadow [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/login.defs [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/pam.d/common-password [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/pam.d/newusers [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/passwd [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/config/etc/shadow [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/data/group [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/data/gshadow [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/data/newusers.list [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/data/passwd [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/data/shadow [new file with mode: 0644]
tests/newusers/62_create_user_no_aging/newusers.test [new file with mode: 0755]
tests/run_all