jobcore/libxcrypt/libxcrypt.install

16 lines
530 B
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/bin/sh
post_upgrade() {
# return if old package version greater 4.4.21...
(( $(vercmp $2 '4.4.21') > 0 )) && return
cat <<EOM
> Starting with 'libxcrypt' 4.4.21, weak password hashes (such as MD5 and SHA1)
> are no longer accepted for new passwords. Users that still have their
> passwords stored with a weak hash will be asked to update their password on
> their next login.
> If the login just fails (for example from display manager) switch to a
> virtual terminal ('Ctrl-Alt-F2') and log in there once.
EOM
}