mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user