summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-06-05 16:39:39 +0000
committerNoah Slater <nslater@apache.org>2008-06-05 16:39:39 +0000
commit4fb24f8cdb6e7e13435ae08c3ca93711eb87a987 (patch)
tree738979fd5c59d46a1c43d9b1c0d05ddee7f7371f /README
parenta3ea1255d671340668a0151c689e27dc49597fe3 (diff)
improved example adduser invokation
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663654 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 5 insertions, 3 deletions
diff --git a/README b/README
index 7453f61e..553fe053 100644
--- a/README
+++ b/README
@@ -129,14 +129,16 @@ You can use whatever tool your system provides to create a new `couchdb` user.
On many UNIX-like systems you can run the following command:
- adduser couchdb
+ adduser --system --home /var/lib/couchdb --no-create-home \
+ --shell /bin/bash --group --gecos "CouchDB Administrator" couchdb
OS X provides the standard Accounts option from the System Preferences
application or you can optionally use the Workgroup Manager application which
can be downloaded as part of the [Server Admin Tools][14].
-You should set the home directory of the `couchdb` user to
-`/usr/local/var/lib/couchdb` which is the Apache CouchDB database directory.
+You should make sure that the `couchdb` user has a working POSIX shell and set
+the home directory to `/usr/local/var/lib/couchdb` which is the Apache CouchDB
+database directory.
Make sure to change the ownership of the Apache CouchDB data directories by
running the following commands: