Table of Content

Main Problem

Error when I want to set default shell

azureuser@arjuna:~$ chsh -s /usr/bin/fishPassword: chsh: PAM: Authentication failure

so, I change PAM Configuration that not ask password to change this shell. PAM config you can find in /etc/pam.d/chsh

auth       required   pam_shells.so

to

auth       sufficient   pam_shells.so