Install Chsh On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install chsh
-
Debian
apt-get install passwdClick to copy -
Ubuntu
apt-get install passwdClick to copy -
Alpine OS
apk add util-linuxClick to copy -
Arch Linux
pacman -S util-linuxClick to copy -
Kali Linux
apt-get install passwdClick to copy -
CentOS
yum install util-linux-ngClick to copy -
Fedora
dnf install util-linux-userClick to copy -
Raspbian
apt-get install passwdClick to copy -
macOS
brew install util-linuxClick to copy
Change user's login shell.
How to use chsh?
Below are few example commands for chsh that you can use in the terminal.
Change shell:chsh -s path/to/shell_binary usernameClick to copy
Install the latest version of chsh in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the chsh just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of chsh from the respository and install it in your computer/server.




