Changing default shell

From PeerFreedom Wiki
Jump to navigation Jump to search

To change default shell for user alice enter as root command:

# chsh -s /path/to/shell/binary/sh alice

For example for bash in Debian:

# chsh -s /bin/bash alice

Zsh in Debian:

# chsh -s /bin/zsh alice