User Management
chsh
Changes the login shell of a user.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-10-08
Syntax
$chsh [OPTIONEN] [BENUTZER]
Examples
$chsh -s /bin/bash
$chsh john
Typical use cases
?
Standard usage
chsh --help
Note
Changes the default shell. Often requires sudo privileges.
Export