juju/juju — pull request #1321 by wallyworld (2014-12-16 02:05:40+00:00)
Title: Change the way the ubuntu user is detected

Fixes https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1328958

Instead of looking for /home/ubuntu, we grep the passwd file to determine if the ubuntu user exists.