aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2019-07-22 14:57:19 +0200
committerFran├žois Kooman <fkooman@tuxed.net>2019-07-22 14:57:19 +0200
commit3e59cec797bcdc29a9c98e23f6cf7e875cf0cca4 (patch)
tree105111deb85f68be1b093377b32b28277a0d620d
parent661fd8f61b5fb39aa703bc7ddefd7efb9dd53b3d (diff)
downloadwww.tuxed.net-3e59cec797bcdc29a9c98e23f6cf7e875cf0cca4.zip
www.tuxed.net-3e59cec797bcdc29a9c98e23f6cf7e875cf0cca4.tar.gz
www.tuxed.net-3e59cec797bcdc29a9c98e23f6cf7e875cf0cca4.tar.xz
update git post
-rw-r--r--posts/git_server_centos.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/posts/git_server_centos.md b/posts/git_server_centos.md
index be61ccd..6b9059c 100644
--- a/posts/git_server_centos.md
+++ b/posts/git_server_centos.md
@@ -1,7 +1,7 @@
---
title: Running a Git server on CentOS
published: 2018-05-24
-modified: 2019-04-11 (CentOS now has Python 3.6 in EPEL)
+modified: 2019-07-22
---
This should really be easier. I guess that is why so many software exists to
@@ -50,8 +50,7 @@ Add `git-shell` to list of shells:
Add system user `git`, but leave the default shell for now:
- $ sudo adduser git -r -d /var/lib/git
- $ sudo chown git.git /var/lib/git
+ $ sudo adduser git -m -r -d /var/lib/git
We'll switch to the `git` user to perform the following steps:
@@ -151,3 +150,9 @@ If you are playing with the configuration options, you may need to remove the
cache as cgit will cache the output it sends to the browser:
$ sudo rm -f /var/cache/cgit/*
+
+### Updates
+
+* **2019-07-22**: `adduser` also takes the `-m` parameter to create the
+ home directory
+* **2019-04-11**: CentOS now has Python 3.6 in EPEL