Skip to content

Instantly share code, notes, and snippets.

@dmidlo
Created March 26, 2017 09:51
Show Gist options
  • Save dmidlo/28a7fc7014024d62655f618b2446e5fa to your computer and use it in GitHub Desktop.
Save dmidlo/28a7fc7014024d62655f618b2446e5fa to your computer and use it in GitHub Desktop.
$sudo sh -c 'echo /opt/local/bin/zsh >>/etc/shells'
enter password:
$ cat zshcat /etc/shells
cat: zshcat: No such file or directory
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/opt/local/bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment