Merge branch 'master' of ssh://srv1.dumalogiya.ru:3251/nixteam/linux-infosec-setupper
commit
db112d9924
@ -0,0 +1,8 @@
|
|||||||
|
_pw_parse_conf() {
|
||||||
|
while read -r line; do
|
||||||
|
case "$line" in
|
||||||
|
*=*) echo "${line// /}" ;;
|
||||||
|
*) echo "${line}=1" ;;
|
||||||
|
esac
|
||||||
|
done < "${DESTDIR}/etc/security/pwquality.conf"
|
||||||
|
}
|
Loading…
Reference in New Issue