Your comments

Ran into this problem as well, on a debian/ubuntu system root access is always via sudo. Therefore it would be useful when user OS sync is enabled, that Ajenti gives root access for the users that are in the sudo group. Using user name root is a security issue (see link )
in case of user OS sync the root user should be disabled.
I saw your comments, the a report of the code. some where quite usefull and have been changed already. But i have a question; How is going to maintain the code ?
Currently its only tested in Ubuntu because this is my target platform. I'm moving to a new home, so in between moving and work i don't have enough time to do other platform tests. So if you offer to do the platform tests, I can do the reformatting and make a pull request.