Adding freeipa-users list back to CC.

Note that the default shell applies only for new users. To modify shell for a current user, use


# ipa user-mod <user> --shell=/bin/bash

Martin

On 10/14/2013 01:55 PM, Михаил А wrote:
[root@pk529ipa01 ~]#  ipa config-show
...
   Default shell: /bin/bash
...


but in new session
-sh-4.2$ echo $SHELL
/bin/sh
-sh-4.2$




2013/10/14 Martin Kosek <mko...@redhat.com <mailto:mko...@redhat.com>>

    Then you probably have /bin/bash already set. Use

    # ipa config-show

    to verify.

    Martin

    On 10/14/2013 01:46 PM, Михаил А wrote:
     > ipa config-mod --defaultshell=/bin/bash
     > ipa: ERROR: no modifications to be performed
     >
     >
     >
     > 2013/10/14 Martin Kosek <mko...@redhat.com <mailto:mko...@redhat.com>>
     >
     >> 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
     >>
     >> _______________________________________________
     >> Freeipa-users mailing list
     >> Freeipa-users@redhat.com <mailto:Freeipa-users@redhat.com>
     >> https://www.redhat.com/mailman/listinfo/freeipa-users
     >>
     >



_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to