Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-03 23:30:30 +0400
committerisaacs <i@izs.me>2010-05-03 23:30:30 +0400
commitb70b2a09fa76f1cc3e3f9da7dd4f48ac073d6d0a (patch)
treea1e40a1473c3b5db3efea8ad338c966fac605400 /man/adduser.1
parenta3dec1abdf971e83377ff167382c56fe26f6c8d6 (diff)
Add built documentation to project, so that the install doesn't require ronn
Diffstat (limited to 'man/adduser.1')
-rw-r--r--man/adduser.137
1 files changed, 37 insertions, 0 deletions
diff --git a/man/adduser.1 b/man/adduser.1
new file mode 100644
index 000000000..eb8f6e4e6
--- /dev/null
+++ b/man/adduser.1
@@ -0,0 +1,37 @@
+.\" generated with Ronn/v0.4.1
+.\" http://github.com/rtomayko/ronn/
+.
+.TH "ADDUSER" "1" "April 2010" "" ""
+.
+.SH "NAME"
+\fBadduser\fR \-\- Add a registry user account
+.
+.SH "SYNOPSIS"
+.
+.nf
+npm adduser bob password bob@email.com
+.
+.fi
+.
+.SH "DESCRIPTION"
+Create a user named "bob" in the npm registry, and save the credentials to the\fB.npmrc\fR file. Note that this leaves the password in your \fB.bash_history\fR, and
+it is currently stored in the clear in the config file. So, don't use a
+password you care too much about.
+.
+.P
+For now, if you somehow break your \fB.npmrc\fR file, and have forgotten your
+password, you're boned. \fIEmail isaacs\fR and he'll delete the
+record from the registry so that you can re\-add it.
+.
+.P
+If you break your \fB.npmrc\fR file, but you remember your password, you can put your
+user auth back by using the \fBbase64\fR program like so:
+.
+.IP "" 4
+.
+.nf
+npm config set auth $( echo user:pass | base64 )
+.
+.fi
+.
+.IP "" 0