diff options
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | debian/soledad-sudoers | 2 | ||||
-rwxr-xr-x | pkg/server/soledad-create-userdb (renamed from pkg/server/create-user-db) | 0 |
3 files changed, 3 insertions, 3 deletions
@@ -73,7 +73,7 @@ database administrator. This implies the following side effects: Database creation: ----------------- -Can be done via a script located in ``pkg/server/create-user-db`` +Can be done via a script located in ``pkg/server/soledad-create-userdb`` It reads a netrc file that should be placed on ``/etc/couchdb/couchdb-admin.netrc``. That file holds the admin credentials in netrc format and should be accessible @@ -82,7 +82,7 @@ only by 'soledad-admin' user. The debian package will do the following in order to automate this: * create a user ``soledad-admin`` -* make this script available as ``create-user-db`` in ``/usr/bin`` +* make this script available as ``soledad-create-userdb`` in ``/usr/bin`` * grant restricted sudo access, that only enables user ``soledad`` to call this exact command via ``soledad-admin`` user. diff --git a/debian/soledad-sudoers b/debian/soledad-sudoers index 642497f8..e0d87368 100644 --- a/debian/soledad-sudoers +++ b/debian/soledad-sudoers @@ -1,2 +1,2 @@ -Cmnd_Alias SOLEDAD_CREATE_DB = /usr/bin/create-user-db +Cmnd_Alias SOLEDAD_CREATE_DB = /usr/bin/soledad-create-userdb soledad ALL=(soledad-admin) NOPASSWD: SOLEDAD_CREATE_DB diff --git a/pkg/server/create-user-db b/pkg/server/soledad-create-userdb index 5e0ef5e2..5e0ef5e2 100755 --- a/pkg/server/create-user-db +++ b/pkg/server/soledad-create-userdb |