Permalink
Browse files

improved example adduser invokation

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663654 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
nslater committed Jun 5, 2008
1 parent a3ea125 commit 4fb24f8cdb6e7e13435ae08c3ca93711eb87a987
Showing with 5 additions and 3 deletions.
  1. +5 −3 README
View
8 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:

0 comments on commit 4fb24f8

Please sign in to comment.