Hi, Just trying to found what's missing for PAM to work so ssh will stop exiting with Broken pipe? Quick fix to solve ssh broken pipe is to change in /etc/ssh/sshd_config "UsePAM yes" to "UsePAM no". But this does not remove my PAM error?
Here the log for PAM: root@ka:~$ journalctl | grep -i PAM Jan 01 00:00:11 ka systemd[1]: systemd 211 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -SECCOMP -APPARMOR) Jan 01 00:00:16 ka kernel[116]: [ 4.918701] systemd[1]: systemd 211 running in system mode. (+PAM +LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -SE CCOMP -APPARMOR) Jan 01 00:40:22 ka login[132]: pam_unix(login:account): account root has password changed in future Jan 01 00:40:22 ka login[132]: pam_lastlog(login:session): file /var/log/lastlog created Jan 01 00:40:22 ka login[132]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Jan 01 00:40:22 ka systemd[194]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth Jan 01 00:40:22 ka systemd[194]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth Jan 01 00:40:22 ka systemd[194]: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted So my image contain pam: bitbake -e nirs-console-image | grep ^DISTRO_FEATURES= DISTRO_FEATURES="alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io largefile opengl ptest multiarch wayland pulseaudio systemd pam" Any clue or advise on how to fix this and why it's not working? BR, -KA -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto