LoginSignup
18
4

More than 5 years have passed since last update.

ubuntuでのchshの「Password: chsh: PAM: Authentication failure」の対応

Last updated at Posted at 2018-03-16

デフォルトのシェルをzshに変えようとしたら、chsh: PAM: Authentication failureというエラーが発生した。

$ chsh -s /bin/zsh
Password:
chsh: PAM: Authentication failure

検索すると英語で書かれたGitHubのissueがヒットした。どうやらuserの指定をする必要があるみたいだ。

chsh: PAM authentication failed on Ubuntu 12.04 · Issue #1224 · robbyrussell/oh-my-zsh

$ sudo chsh $USER -s $(which zsh)
Password:

O K !

原因

Personal Memos: CHSHコマンドで失敗して

18
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
4