X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=README;h=bdc6cb9245c27b1b4dbf5bac4fe8aaace6c1a96b;hb=c3f4f5e0a7a740354d38a44c4435dbf0790e81c4;hp=fa18294af64a14108fb44b07df8339e0dd876dd4;hpb=f2f9e7c8c9bb81e5594f80f6d3e982238fba376a;p=repo_shell.git diff --git a/README b/README index fa18294..bdc6cb9 100644 --- a/README +++ b/README @@ -50,6 +50,13 @@ only affects users that have /usr/local/bin/repo_shell as their login shell. If the server is only hosting repositories, there is no reason for users to be allowed 'interactive' access. +== allowed_interactive and sudo == + +For users that use repo_shell as a login shell and that also need to run +commands via sudo as other users, those other users must also be listed in the +allowed_interactive user list. Otherwise, sudo functionality is effectively +disabled for such users. + = Create owner and paths In accordance with the settings in /etc/repo_shell.conf: @@ -103,6 +110,12 @@ the create command would be: sudo -u repo gitcreate mirrors/tinyos/tinyos-main.git +If a subdirectory path being requested doesn't already exist, the script will +ask the operator if it is OK to create it. To automatically create non-existent +subdirectory paths, add the -y option: + + sudo -u repo gitcreate -y mirrors/tinyos/tinyos-main.git + = Configuring user accounts Each user to access repositories via client side tools need an account on the