Dixi quod… >The OP’s $SHELL should not be set to /usr/bin/bash as that >value is not in /etc/shells and not its canonical path in >the first place.
And login(1) is clear that it sets $SHELL from the passwd file, where it gets added by adduser which should honour /etc/shells. bye, //mirabilos -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt