White, David via FreeIPA-users wrote:
> We have a FreeIPA / IdM environment that talks to Active Directory, where the 
> user accounts live.
> 
> In the IdM GUI, I have navigated to: IPA Server -> Configuration
> And I configured the "Default Shell" to: /bin/bash
> 
> However, whenever new users SSH to a server using their AD credentials, they 
> are still put into a /bin/sh shell.
> 
> I have created an ID Override for myself by going to: Identity -> ID Views, 
> editing the "Default Trust View", and adding myself.
> In my ID Override, I have set my own shell to /bin/bash
> 
> My guess is that the global option in IPA Server -> Configuration is only 
> applied to local IPA accounts, and not AD accounts.
> Is that a correct assumption?

Yes.

> Is there any way that we can change the default shell for AD users without 
> having to manually and individually create an ID Override?

You can do so directly in sssd by setting default_shell in sssd.conf.
See also
https://computingforgeeks.com/set-default-login-shell-on-sssd-for-ad-trust-users-using-freeipa/

There is no way to tell ipa-client-install to do this automatically. You
may be able to drop in a config snippet to do this though.

rob
_______________________________________________
FreeIPA-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