{"id":276,"date":"2012-01-22T10:12:10","date_gmt":"2012-01-22T10:12:10","guid":{"rendered":"http:\/\/www.h-hennes.fr\/blog\/?p=276"},"modified":"2013-02-18T14:02:17","modified_gmt":"2013-02-18T14:02:17","slug":"utiliser-plusieurs-utilisateurs-avec-un-depot-svn-chez-ovh","status":"publish","type":"post","link":"https:\/\/www.h-hennes.fr\/blog\/2012\/01\/22\/utiliser-plusieurs-utilisateurs-avec-un-depot-svn-chez-ovh\/","title":{"rendered":"Utiliser plusieurs utilisateurs avec un d\u00e9pot svn chez ovh"},"content":{"rendered":"<p>En compl\u00e9ment de mon pr\u00e9c\u00e9dent article sur l&rsquo;utilisation du service svn chez l&rsquo;h\u00e9bergeur ovh ( <a href=\"https:\/\/www.h-hennes.fr\/blog\/2011\/10\/04\/creation-dun-depot-subversion-chez-ovh\/\">consultable ici <\/a>) qui convient tr\u00e8s bien dans le cas d&rsquo;un seul utilisateur, voici la manipulation \u00e0 effectuer pour configurer plusieurs utilisateurs.<\/p>\n<p>( Je d\u00e9taille uniquement les informations qui changent par rapport \u00e0 mon pr\u00e9c\u00e9dent article )<\/p>\n<p>Il est important de noter que l&rsquo;acc\u00e8s fonctionnera uniquement une fois la cl\u00e9 SSH mise en place.<\/p>\n<p>Remplacer l&rsquo;url du d\u00e9pot par\u00a0 : svn+ssh:\/\/<span style=\"color: #ff9900;\">identifiantftp<\/span>@<span style=\"color: #00ffff;\">clusterxxx.ovh.net<\/span>\/dossier_depot<\/p>\n<p>Au moment de l&rsquo;ajout de la cl\u00e9 SSH dans le fichier authorized_key pr\u00e9c\u00e9dez celle-ci du texte suivant :<\/p>\n<p>command=\u00a0\u00bb\/usr\/bin\/svnserve &#8211;root=\/<span style=\"color: #99cc00;\">homez.XXX<\/span>\/<span style=\"color: #ff9900;\">identifiantftp<\/span>\/svn &#8211;tunnel &#8211;tunnel-user=<strong>nomUser<\/strong>\u00ab\u00a0,no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty<\/p>\n<p>N&rsquo;oubliez pas de remplacer les champs avec vos identifiants ftp, votre num\u00e9ro de cluster et votre home.<\/p>\n<p>Et voila le tour est jou\u00e9, maintenant plusieurs utilisateurs sont g\u00e9r\u00e9s depuis votre serveur subversion, il sera donc plus facile d&rsquo;identifier les auteurs de modifications \ud83d\ude09<\/p>\n<p>Edit du 18\/02\/2013 : Si vous souhaitez rajouter une gestion plus fine des utilisateurs en limitant leurs acc\u00e8s par dossier, vous pouvez consulter l&rsquo;article suivant : <a href=\"https:\/\/www.h-hennes.fr\/blog\/2013\/02\/18\/subversion-gestion-des-droits-des-utilisateurs-par-dossier\/\" title=\"Subversion : Gestion des droits des utilisateurs par dossier\">Subversion : Gestion des droits des utilisateurs par dossier<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>En compl\u00e9ment de mon pr\u00e9c\u00e9dent article sur l&rsquo;utilisation du service svn chez l&rsquo;h\u00e9bergeur ovh ( consultable ici ) qui convient tr\u00e8s bien dans le cas d&rsquo;un seul utilisateur, voici la manipulation \u00e0 effectuer pour configurer plusieurs utilisateurs. ( Je d\u00e9taille uniquement les informations qui changent par rapport \u00e0 mon pr\u00e9c\u00e9dent article ) Il est important [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[6],"tags":[171,172,169],"class_list":["post-276","post","type-post","status-publish","format-standard","hentry","category-trucs-et-astuces","tag-ovh","tag-subversion","tag-svn"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/comments?post=276"}],"version-history":[{"count":4,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions"}],"predecessor-version":[{"id":373,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/276\/revisions\/373"}],"wp:attachment":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/media?parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/categories?post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/tags?post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}