diff options
author | Noah Slater <nslater@apache.org> | 2008-06-05 16:39:39 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2008-06-05 16:39:39 +0000 |
commit | 4fb24f8cdb6e7e13435ae08c3ca93711eb87a987 (patch) | |
tree | 738979fd5c59d46a1c43d9b1c0d05ddee7f7371f | |
parent | a3ea1255d671340668a0151c689e27dc49597fe3 (diff) |
improved example adduser invokation
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@663654 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |