diff options
author | isaacs <i@izs.me> | 2010-05-14 11:34:52 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-14 11:34:52 +0400 |
commit | 46e731837880375df6801254a8ca3d8fcb5cbfe7 (patch) | |
tree | 7fee80a11ce795010a47375e786b2c1103c21d5d /doc | |
parent | 83b9faaab0da141c16744da8f3f6a877888acb86 (diff) |
make this man page more manly
Diffstat (limited to 'doc')
-rw-r--r-- | doc/adduser.md | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/doc/adduser.md b/doc/adduser.md index e82cc8fea..5998b2ffe 100644 --- a/doc/adduser.md +++ b/doc/adduser.md @@ -3,20 +3,26 @@ npm-adduser(1) -- Add a registry user account ## SYNOPSIS - npm adduser bob password bob@email.com + npm adduser <username> <password> <email> ## DESCRIPTION -Create a user named "bob" in the npm registry, and save the credentials to the -`.npmrc` file. Note that this leaves the password in your `.bash_history`, and -it is currently stored in the clear in the config file. So, don't use a -password you care too much about. +Create a user named `<username>` in the npm registry, and save the +credentials to the `.npmrc` file. Note that this leaves the password +in your `.bash_history`, and it is currently stored in the clear in +the config file. So, don't use a password you care too much about. For now, if you somehow break your `.npmrc` file, and have forgotten your -password, you're boned. [Email isaacs](mailto:i@izs.me) and he'll delete the +password, you're boned. Send an email to i@izs.me and I'll delete the record from the registry so that you can re-add it. -If you break your `.npmrc` file, but you remember your password, you can put your -user auth back by using the `base64` program like so: +If you break your `.npmrc` file, but you remember your password, you +can put your user auth back by using the `base64` program like so: npm config set auth $( echo user:pass | base64 ) + +Install base64 using whichever method you normally use to put programs on +your computer. (apt-get, homebrew, macports, yum, or just download the +code and build it yourself.) + +Or bug me to to remove your account, and then recreate it. |