Can't change shell in EC2 server
By Gabriel Cooper •
I am trying to change the default shell on Ubuntu server 13.10 on Amazon's AWS (AMI ami-ad184ac4).
I've tried:
~$ chsh -s /bin/zsh But got:
Password:
chsh: PAM: Authentication failureI've tried obvious passwords (e.g. ubuntu) but always got the same error message - chsh: PAM: Authentication failure.
Any idea why can't I change the default shell?
1 Answer
Oddly enough, using sudo with the username was the answer:
$ sudo chsh ubuntu -s /bin/zsh More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"