Skip to content

config_tweaks.patch: execute login shell and fall back to /bin/sh if SHELL is not set

Johannes Schauer Marin Rodrigues requested to merge loginshell into master

I contacted upstream (kennylevinsen) on IRC and submitted a patch to them with the changes I propose here but they rejected my patch. Thus, I'm proposing to carry it in Debian instead.

Currently, the user will be dropped to /bin/sh even when they have another shell configured in /etc/passwd. By running $SHELL (if it is set) the problem should be fixed.

Merge request reports

Loading