On Fri, Jan 8, 2021 at 4:05 PM SJTU <[email protected]> wrote:

> Hi,
>
>     We host a 389ds LDAP service and connect it via SSSD. All servers and
> clients are on CentOS 7. ldapmodify and passwd work well. But we fail to
> change user login shell via chsh. For example,
>
>     $ chsh -s /bin/bash
>     Changing shell for hpc-jianwen.
>     Password:
>     chsh: user "hpc-jianwen" does not exist.
>

man page for `chsh` says:
```
       chsh  supports  non-local  entries  (kerberos, LDAP, etc.) if linked
with libuser, otherwise use ypchsh, lchsh or any other implementation for
non-
       local entries.
```
  --  "if linked with libuser"  --  is this a case in your setup?

>
>
>     $ id hpc-jianwen
>     uid=1513(hpc-jianwen) gid=1514(hpc-jianwen) groups=1514(hpc-jianwen)
>
>     Any suggestion is welcome.
>
>
> Thank you!
>
> Jianwen
> _______________________________________________
> sssd-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedorahosted.org/archives/list/[email protected]
>
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to