18
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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
5
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
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?