saltstack/salt — pull request #4141 by wichert (2013-03-18 13:21:48+00:00)
Title: cmd: force use of a known working shell.

Users may have an odd shell: for example `/bin/false` is often used for system accounts. Currently the su call used by cmd to determine a users environment fails on those accounts. This pull request fixes that by explicitly asking su to use a known working shell.