1
Go to list of users who liked
1
More than 5 years have passed since last update.
v1 or v2 ?
This article is written for Workflow (v2).
But you can reset your password in Deis(v1) by almost same procedure.
case: you are not an administrator
Ask your administrator to execdeis auth:passwd --user {your_account}
case: you are the one and only administrator
Ssh into your kube-master node and execmanage.py
in the controller.
$kubectlexec--namespace=deis-it deis-controller-3568054663-x4jk5 ./manage.py shellPython 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] on linuxType "help", "copyright", "credits" or "license" for more information.(InteractiveConsole)>>>
Next, Type the script in Python like this.
>>> from django.contrib.auth.models import User>>> u = User.objects.get(username__exact='{your_account_name}')>>> u.set_password('{new_password_plain_text}')>>> u.save()>>>
You can logout by pressingCtrl-D
after executingu.save()
.
Note
deis-controller-3568054663-x4jk5
is the pod name.
Modify{your_account_name}
and'{new_password_plain_text}
as you like.
See also
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme