mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
usermngr: fix passwdqc options
This commit is contained in:
parent
b4e735e731
commit
350ced4c32
1 changed files with 3 additions and 1 deletions
|
|
@ -112,6 +112,8 @@ build_pam_passwdqc_line() {
|
|||
base="$base $k=$v"
|
||||
done
|
||||
|
||||
base="$base match=0"
|
||||
|
||||
echo "$base"
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +143,7 @@ update_password() {
|
|||
fi
|
||||
fi
|
||||
|
||||
write_line "$tmp_file" "password [success=1 default=ignore] pam_unix.so obscure sha512"
|
||||
write_line "$tmp_file" "password [success=1 default=ignore] pam_unix.so sha512"
|
||||
write_line "$tmp_file" ""
|
||||
write_line "$tmp_file" "password requisite pam_deny.so"
|
||||
write_line "$tmp_file" "password required pam_permit.so"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue