Use tmux as your login shell View article history Edit article

Published: , Updated:
Talks about: <a class="post-tag post-tag-chsh" href="/tags/chsh">chsh</a>, <a class="post-tag post-tag-login-shell" href="/tags/login-shell">login shell</a>, and <a class="post-tag post-tag-tmux" href="/tags/tmux">tmux</a>

To use tmux as your login shell, use chsh:

# list all available shells
$ chsh --list-shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/usr/bin/zsh
/bin/zsh
/usr/bin/tmux
/bin/tmux

# select login shell
$ chsh --shell /usr/bin/tmux