Noticed that emails stopped serving from server and the reason is that authentication fails. Before update everything worked and had been working for a long time but now stop.
No changes to configs, no changes to passwords etc. Just update (zypper -v dup) and no more authentication.
Temporarily tested shadowpw and that worked locally but does not work from outside usage. I’d prefer to use PAM but haven’t figured out what is the problem here now.
Any idea of the solution for this?
PAM configs:
default common-auth, common-account, common-password, common-session (as per Tumbleweed distro)
tried for PAM dovecot config auth required pam_unix.so and account required pam_unix.so - no difference
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{,usr/}{,s}bin/unix_chkpwd
profile unix-chkpwd /{,usr/}{,s}bin/unix_chkpwd {
include <abstractions/base>
include <abstractions/nameservice>
# To write records to the kernel auditing log.
capability audit_write,
network netlink raw,
@{exec_path} mr,
/etc/shadow r,
# file_inherit
# owner /dev/tty@{int} rw,
include if exists <local/unix-chkpwd>
}
Still falls to authenticate with exact same failure log.
Not working 100%. Mobile phone client (Edison email) cannot log in anymore (removed and reinstalled app as well). Another computer did work (Thunderbird).
services auth: pam_unix(dovecot:session): session opened for user ****(uid=1000) by (uid=0)
auth: pam_unix(dovecot:session): session closed for user ****