From f27c3ae565b79eedfdc3cab62a28d19a4adf991d Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" Date: Thu, 2 Aug 2018 17:53:32 -0400 Subject: [PATCH] gitolite: Permit SSH login for gitolite user (git) The user defined in order to own and admin gitolite directories needs to not be expired else logins such SSH access will not be allowed for that user. So we unexpire user git by default. Signed-off-by: Daniel F. Dickinson --- net/gitolite/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/gitolite/Makefile b/net/gitolite/Makefile index 5a0139c29..358bc590d 100644 --- a/net/gitolite/Makefile +++ b/net/gitolite/Makefile @@ -42,6 +42,7 @@ endef define Package/gitolite/postinst sed -i -e 's,/var/run/git,/srv/git,' $${IPKG_INSTROOT}/etc/passwd sed -i -e 's,git:\(.*\):/bin/false,git:\1:/bin/ash,' $${IPKG_INSTROOT}/etc/passwd +sed -i -e 's,git:x:0:\(.*\)$$,git:x:99999:\1,' $${IPKG_INSTROOT}/etc/shadow endef define Build/Configure