On Ubuntu 14.04, I am getting the error "The value for the SHELL variable was not found the /etc/shells file" when running pkexec to run a script.
Most likely this error started after I removed the fish shell, that was set as my default shell.
The content of /etc/shells is:
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
How may I fix this?