How to change the default shell of IPA on RHEL 6?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6.x
  • IPA

Issue

Need to change the default shell of IPA for clients. How to do it?

Resolution

  • Use the following commands to change the IPA shell:
# ipa config-mod --defaultshell=/bin/bash
  • In this example you will change IPA shell to _bash_.

There is a description about that parameter in our documentation:

 Default shell  --defaultshell  Sets the default shell to use for users. The default value is /bin/sh. 

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.