chsh

Change user's login shell.

Install

All systems
curl cmd.cat/chsh.sh
Debian Debian
apt-get install passwd
Ubuntu
apt-get install passwd
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install passwd
CentOS
yum install util-linux-ng
Fedora
dnf install util-linux-user
OS X
brew install util-linux
Raspbian
apt-get install passwd
Docker
docker run cmd.cat/chsh chsh powered by Commando

Change user's login shell.

  • Change shell:
    chsh -s path/to/shell_binary username

© tl;dr; authors and contributors