I can't change my bash shell to fish with chsh, because it asks for a password, which isn't my root password, and after I type something in I get this: chsh: PAM: Authentication failure
This is my /etc/pam.d/chsh
configuration file:
#
# The PAM configuration file for the Shadow `chsh' service
#
# This will not allow a user to change their shell unless
# their current one is listed in /etc/shells. This keeps
# accounts with special shells from changing them.
auth sufficent pam_shells.so
# This allows root to change user shell without being
# prompted for a password
auth sufficent pam_rootok.so
# The standard Unix authentication modules, used with
# NIS (man nsswitch) as well as normal /etc/passwd and
# /etc/shadow entries.
@include common-auth
@include common-account
@include common-session
My /etc/shells
file contains /bin/fish
and /usr/bin/fish
too and it still asks for a password. I also know my sudo
password, but after I type it in, it asks for another one, that I don't know. Like this:
gergo@odin:~$ sudo chsh -s /usr/bin/fish
[sudo] password for gergo:
Password:
chsh: PAM: Authentication failure
Please if anyone can think of something tell me.