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 <cshored@thecshore.com>
This commit is contained in:
Daniel F. Dickinson 2018-08-02 17:53:32 -04:00
parent 46d91345c2
commit f27c3ae565

View file

@ -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