chsh: A operação foi negada porque as credenciais atuais não possuem os privilégios apropriados

2

Não consigo alterar meu shell padrão em osx high sierra.

sudo chsh -s /bin/zsh username 
chsh: Operation was denied because the current credentials do not have the appropriate privileges.  Operation was denied because the current credentials do not have the appropriate privileges.

Eu olhei para esta questão e não parece haver uma resposta atualizada:

    
por digitalbart 11.04.2018 / 17:01

1 resposta

1

Não consigo alterar meu shell padrão no osx high sierra.

I would like to add 2 important things here. These are applicable to MacOS Sierra 10.12.5 (16F73) and probably some other recent and upcoming versions of MacOS.

  1. chsh is not enough to change the default shell. Make sure you press Command+, while your terminal is open and change the "Shells open with" option to "Default login shell."

  2. In case of bash, make sure that you execute echo $BASH_VERSION to confirm you are running the intended version of bash. bash --version does not give you correct information.

Source Como definir meu shell padrão no Mac? , responda por Tushar Vazirani

    
por 11.04.2018 / 17:08