From: Daniel F. Dickinson Date: Thu, 2 Aug 2018 21:53:32 +0000 (-0400) Subject: gitolite: Permit SSH login for gitolite user (git) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f27c3ae565b79eedfdc3cab62a28d19a4adf991d;p=feed%2Fpackages.git 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 --- diff --git a/net/gitolite/Makefile b/net/gitolite/Makefile index 5a0139c292..358bc590d0 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