I have some ssh ldap users who connect to my server (centos7) for reset their password.I would like they use rbash for execute passwd command but I don't know how to do.I can't add rbash to /etc/passwd because they are LDAP user and they are not in this file.I thought of 2 solutions, but not very safe:Launch rbash (or passwd command) in sshd_config with 'ForceCommand'Launch rbash in /etc/profile
rbash for ssh ldap users
bash;centos;ldap;restricted shell