Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've set up MAAS but forgot the username and password, how can I reset it?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

sudo maas changepassword <user>, where user is the user you want the password changed:

cerdea@capiau:/var/log/maas$ sudo maas changepassword maas-root
Changing password for user 'maas-root' 
Password (again): 
Password changed successfully for user 'maas-root'

Of course, you may need to find which user to change the password for:

matsubara@tancho [~]$ sudo maas shell

In [1]: from maasserver.models import User

In [2]: User.objects.all()
Out[2]: [<User: maas-init-node>, <User: admin>]

In [3]: 
share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.