FG
💻 Software

change default shell from zsh to bash

Fresh5 days ago
Mar 15, 202619560 views
Confidence Score0%
0%

Problem

I'm trying to change my default shell in RHEL5 from zsh to bash. I tried to the methods mentioned in this thead. By typing , the system says . But the /usr/bin/chsh is there. Another way I found is to edit /etc/passwd file with my usrid, but it forbids me from editing it. Any suggestions?

Error Output

sudo /usr/bin/chsh -s /bin/bash

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: change default shell from zsh to bash

Low Risk

Make sure has execute permissions by running . You should be able to run using your own account. Otherwise you'd be setting 's shell. Try the following:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment