Questions tagged [chsh]
The chsh tag has no usage guidance.
How to check what is the default shell
Is there a config file that stores the default shell (bash, zsh, etc) for the current user ?
Including a fallback in default shell
I have an account on a network, and my shell is set to zsh, but when I log onto a computer that doesn't have zsh installed on it, a terminal I launch tries to run zsh and fails, so I get an empty ...
When default shell is not bash-compatible, why do bash scripts not work well?
My default shell is fish, because it's a lot nicer. But often when I run scripts, I get errors that seem to be from the bash script being processed by fish. I think this is because the script writer ...
Why do I see "Operation was denied because the current credentials do not have the appropriate privileges" when trying to chsh?
I'm setting up a new dev Macbook Pro, and trying to replace bash with zsh. I installed zsh and can run it to change shell in a session. When I use sudo chsh -s /bin/zsh username I get the error ...
Use user-installed shell? [duplicate]
How do I change my shell to one installed in my home directory? I installed a new zsh in my home directory, which is picked up: >> which zsh >> /home/myname/bin/zsh It's not listed in /...
How can I change shell in Ubuntu? [duplicate]
I have a Ubuntu Server VPS and I want to use /bin/bash/ as my shell. How can I change my shell? I have root access but I don't work as root. So dash is my default shell now. I have read How do I make ...
Ubuntu: Accidentally changed root user to nonexistent shell
I tried to change my user's shell, but used "sudo chsh", and changed the root shell to "bash" instead of "/bin/bash". Now when I try to change it I get "chsh: PAM authentication failed" and it seems ...
What chsh did when I type `chsh -s SHELL` and how to go back to previous SHELL?
I have mistakenly setting my user login shell to some unknown directory:(. Now, I can't login to this user. Every time I try to ssh, it always failed as if I enter the wrong password. I try to ...
Mac Terminal: changed my shell, now can't start it
I installed bash 4.0 via MacPorts, then used sudo chsh -s /opt/local/bin/bash my_user to change my shell. Before that I tried just running plain chsh without sudo, but it wouldn't allow me to change ...