Movatterモバイル変換


[0]ホーム

URL:


LoginSignup
1

Go to list of users who liked

1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Resetting your password in Deis Workflow

Posted at

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

1

Go to list of users who liked

1
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1

Go to list of users who liked

1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?


[8]ページ先頭

©2009-2025 Movatter.jp