My Original question:
When I run
sudo su
myzsh
prompt changes back to Bash. How can I make Zsh the default shell for the root user?
My answer about duplicate :
The question about when a post is considered as duplicate is debating here : Should questions be closed as duplicate only because of the helpfulness of answers?
I quote the first paragraph of the first answer :
Most opinions I have seen about this say that questions are duplicates, not answers. Therefore, questions should only be closed as a duplicate when they are the same, not because the answer to one is also the answer to the other.
And then the first words after :
I, however, disagree.
You are free to see the post to read the arguments of this user.
I personally, as "most opinions" think that questions are duplicates and no answers because i had never find an answer to my particular question with the post : How do I set fish as the default shell?
And what a coincidence the user that i quoted is one of the users who marks my post as duplicate.
I tried to defend myself but probably in bad way. So please stop down vote my post and please understand that perhaps some people just want to extend already default shell to all users and others want make a particular shell to be default. This is not the same search and i think this can help the community.
root
instead of your own user name andcsh
instead offish
.root
owned scripts depend onbash
features that don't work exactly the same as inzsh