dobestan / dotfiles-legacy

highly customized awesome-dotfiles repo written by @dobestan
https://github.com/dobestan/dotfiles
3 stars 1 forks source link

issue : installing zsh via brew does not add zsh to /etc/shells #10

Closed dobestan closed 9 years ago

dobestan commented 9 years ago
# 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
$ which zsh
/usr/local/bin/zsh
dobestan commented 9 years ago

something like this should work : ( currently not working because of permission )

$ echo "/usr/local/bin/zsh" >> /etc/shells
dobestan commented 9 years ago

solution : http://superuser.com/questions/136646/how-to-append-to-a-file-as-sudo