RHEL 7 and using zsh as default shell for root
Is there any known issue if I switch my root user to zsh from bash starting with RHEL/CentOS 7?
I have tried this with a CentOS 7 installation and have not seen any adverse effects thus far but I was curious if anyone else has any experience on this. My main reason is quite much making some admin work faster with utilizing some of the autocompletion scripting that is available for zsh via suitable rc files (e.g. http://grml.org/zsh/).
Responses
Hi Jukka,
Just a few thoughts, there's more to consider than the few bits below...
What was the compelling reason / factor you wanted to switch the root user's default shell to zsh? I'd examine your environmental variables for both shells to see if things are proper, including (and certainly -not- limited to) root's $PATH.
There's other factors to consider, such as if you have specific profiles directives in .bashrc or .bash_profile, these will be bypassed.
The only other immediate bit I can think of in light of this, if you have a cron running some script (including ones that are written at a later date), it may fail because of a 'spelling correction' perhaps. Hopefully not... If you use the full path in any scripts (typically a good idea), that will probably avert that.
Sounds like you're testing this - hope it goes well.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
