by using the chsh -l
[user@localhost ~]$ chsh -l /bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh /usr/bin/bash /usr/sbin/nologin /usr/bin/fish
Or by using
cat /etc/shells
we can change the following default shell using
chsh -s /usr/bin/bash
Now all that is left to do is preform a logoff-logon cycle, and enjoy our new default shell.
No comments:
Post a Comment