SUSE/pennyworth — pull request #11 by thardeck (2014-09-12 07:02:18+00:00)
Title: Run su commands with login shell

We had an issue with our integration test that ruby wanted to change to
/root which it couldn't access.
The reason for this was a FileUtils.cd block, which tried to change back
to root, because the environment variables were the same as for root.
Running su with the "-l" parameter fixes this issue.