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:
parent
46d91345c2
commit
f27c3ae565
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue