Skip to content
This repository
Browse code

[docs] add account control

  • Loading branch information...
commit 62d815e36840ceaee70b6b0890d9e18853bb9e3e 1 parent 597e3ae
Martijn Swaagman authored March 23, 2013

Showing 1 changed file with 79 additions and 0 deletions. Show diff stats Hide diff stats

  1. 79  content/jitsu/user.md
79  content/jitsu/user.md
Source Rendered
... ...
@@ -1 +1,80 @@
  1
+# Account management
  2
+
  3
+Account management can be done from the CLI by using `jitsu users`. The
  4
+following commands are at your disposal to change account details.
  5
+
  6
+---
  7
+
  8
+## Usernames
  9
+
  10
+**Who Am I?**
  11
+
  12
+To check the current authenticated account name, do `jitsu users whoami`. The
  13
+response should read as below where *username* is the current logged in
  14
+account name.
  15
+
  16
+```
  17
+info:    You are: [username]
  18
+```
  19
+
  20
+**Is a new account name available?**
  21
+
  22
+Account name availability for a new account can be checked with `jitsu users
  23
+available [username]` where *username* is the name of your choice. The feedback
  24
+should contain either:
  25
+
  26
+```
  27
+info:    Username [username] is not available // or
  28
+info:    Username [username] is available
  29
+```
  30
+
  31
+---
  32
+
  33
+## Passwords
  34
+
  35
+**Change your password**
  36
+If you would like to change your current password, make sure you are logged in
  37
+with the right user. Changing your password can be done by calling
  38
+`jitsu users changepassword`. You will be prompted to enter a new password first
  39
+and to confirm it after, like so:
  40
+
  41
+```
  42
+info:    Welcome to Nodejitsu [username]
  43
+info:    jitsu v0.12.8, node v0.8.22
  44
+info:    It worked if it ends with Nodejitsu ok
  45
+info:    Executing command users changepassword
  46
+prompt:  password:
  47
+prompt:  confirm password:
  48
+```
  49
+
  50
+**Lost your password?**
  51
+
  52
+Losing your password is cumbersome, but we provide easy recovery through
  53
+`jitsu users forgot [username]`. Where *username* is your account name for which
  54
+you would like to recover the password. You should receive an e-mail on e-mail
  55
+address known to Nodejitsu. The e-mail will provide instructions to complete
  56
+recovery. To reset your password run the following jitsu command:
  57
+
  58
+```
  59
+jitsu users forgot [username] [handshake]
  60
+```
  61
+
  62
+This command can be copy-pasted from the e-mail. The *handshake* is the
  63
+unique identifier temporarily bound to your account to reset your password.
  64
+After entering above command you will be prompted to enter your new password.
  65
+
  66
+---
  67
+
  68
+## Account control
  69
+
  70
+Login, logout and signup can both be done shorthand and through `jitsu users`.
  71
+For more details see [Jitsu CLI][main]
  72
+
  73
+```
  74
+jitsu users create // signup
  75
+jitsu users login // login
  76
+jitsu users logout // logout
  77
+```
  78
+
  79
+[main]: /jitsu/#sign-up
1 80
 [meta:title]: <> (User management)

0 notes on commit 62d815e

Please sign in to comment.
Something went wrong with that request. Please try again.