From mboxrd@z Thu Jan 1 00:00:00 1970 From: quiliro@riseup.net Subject: Setting up a Git server Date: Thu, 12 Sep 2019 20:44:44 -0500 Message-ID: <8c7190029d1115019ad6e11d482a4ba2.squirrel@sm.riseup.net> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8adj-0005bW-39 for help-guix@gnu.org; Thu, 12 Sep 2019 21:44:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8adh-0001Rw-Se for help-guix@gnu.org; Thu, 12 Sep 2019 21:44:46 -0400 Received: from mx1.riseup.net ([198.252.153.129]:37934) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i8adh-0001Rg-J0 for help-guix@gnu.org; Thu, 12 Sep 2019 21:44:45 -0400 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 4FE211A0A21 for ; Thu, 12 Sep 2019 18:44:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net (Postfix) with ESMTPSA id 0F322205A2 for ; Thu, 12 Sep 2019 18:44:43 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix Hello Guix. I have set up a git server on one machine by adding openssh as a service in my guix system reconfigure file: (operating-system [...] (services (cons* (service openssh-service-type (openssh-configuration (port-number 2222))) [...]))) And on a wheel user, I typed the command: sudo guix system reconfigure config.scm On a regular user, I added git: guix install git I created a new directory and made it a repository with: mkdir git_test chmod 770 git_test cd git_test git init I added a new file and commited that file: echo "This is the first text of the first file." > new_file git add . git commit -m "First file added for testing." So now, from a remote machine which has Git installed, I can: git clone git clone \ ssh://remote_user@remote_server_IP_address:2222/home/remote_user/git_test Everything is fairly well. But not as well as I expected. I have the following problems: - no users can push - everyone mush pull with the remote_user's password How can each user push with their own password?