yob/em-ftpd — pull request #2 by jsl (2012-02-07 18:19:59+00:00)
Title: Configurator bug fix and cleanup

This commit fixes a Configurator bug and makes the code more DRY.

* The Configurator called Etc.getpwnam to retrieve a group id, when it should call Etc.getgrnam.
* The Configurator lacked unit tests, which are added in this PR.
* The Configurator had a lot of duplicate code, which is reduced by refactoring in this PR.