'createsuperuser' is a Django command ([0]) used to create an admin user. 'createadmin' is a MAAS command, very similar to 'createsuperuser', but which lets you provide the password on the command line (with --password). That's inherently insecure and that's why the Django command doesn't let you do that. We added the command 'createadmin' because we needed a non-interactive command for packaging purposes.
This is why, for interactive usage, we should prefer 'createsuperuser' and thus I don't think the login page or the docs should be updated. Now, the fact that "sudo maas createsuperuser" breaks is a Django bug: [1]. It has been fixed (see the bug page) in Django 1.5 but 13.04 contains Django 1.4. [0] https://docs.djangoproject.com/en/dev/ref/django- admin/#createsuperuser [1] https://code.djangoproject.com/ticket/16017 ** Bug watch added: Django Bug Tracker #16017 http://code.djangoproject.com/ticket/16017 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1206675 Title: createsuperuser fails if Python can't detect default locale To manage notifications about this bug go to: https://bugs.launchpad.net/django/+bug/1206675/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs