Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 5608  / 1 Year ago, sun, may 28, 2023, 7:24:06

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


More From » maas

 Answers
1

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:
Password (again):
Password changed successfully for user 'maas-root'
cerdea@capiau:/var/log/maas$


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]:

[#39402] Tuesday, May 30, 2023, 12 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cocal

Total Points: 236
Total Questions: 111
Total Answers: 123

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
cocal questions
Tue, Oct 12, 21, 20:46, 3 Years ago
Sat, Oct 8, 22, 04:23, 2 Years ago
Wed, Sep 14, 22, 22:38, 2 Years ago
Sun, Dec 18, 22, 02:24, 1 Year ago
Wed, Jun 29, 22, 17:31, 2 Years ago
;