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?
/etc/shellsonly had one entry after installingnushell (/usr/bin/nu), which was not the shell I used to callgufw. Adding my actual shell to/etc/shellsfixed the issue. – FObersteiner May 06 '25 at 13:01