From: quiliro@riseup.net
To: help-guix <help-guix@gnu.org>
Subject: Setting up a Git server
Date: Thu, 12 Sep 2019 20:44:44 -0500 [thread overview]
Message-ID: <8c7190029d1115019ad6e11d482a4ba2.squirrel@sm.riseup.net> (raw)
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?
next reply other threads:[~2019-09-13 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-13 1:44 quiliro [this message]
2019-09-13 6:08 ` Setting up a Git server quiliro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c7190029d1115019ad6e11d482a4ba2.squirrel@sm.riseup.net \
--to=quiliro@riseup.net \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).