[Freeipa-users] Default shell for new users

Martin Kosek mkosek at redhat.com
Mon Oct 14 11:38:02 UTC 2013


On 10/14/2013 11:46 AM, Mateusz Marzantowicz wrote:
> Is there any particular reason why /bin/sh is default shell for new
> domain users and not /bin/bash is? I know that /bin/sh is symlink to
> /bin/bash on Fedora but local user accounts are created with /bin/bash
> as default shell.
> 
> Is it related to other supported UNIX-like systems that might not
> include bash or there is some other reason for such default vaule?

This is exactly the reason. /bin/sh is just the most common denominator when
talking about shells on various client systems.

But feel free to change the default to /bin/bash if you like:

$ kinit admin
$ ipa config-mod --defaultshell=/bin/bash

HTH,
Martin




More information about the Freeipa-users mailing list