mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
main/gitolite: unlock git user
adduser will create a locked account which prevents using gitolite via ssh after setup.
This commit is contained in:
parent
f15229c814
commit
bd5af21b99
2 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
||||||
pkgname=gitolite
|
pkgname=gitolite
|
||||||
pkgver=3.6.13
|
pkgver=3.6.13
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Centralized git server, with very fine-grained access control and many powerful features"
|
pkgdesc="Centralized git server, with very fine-grained access control and many powerful features"
|
||||||
url="https://github.com/sitaramc/gitolite"
|
url="https://github.com/sitaramc/gitolite"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
addgroup -S git 2>/dev/null
|
addgroup -S git 2>/dev/null
|
||||||
adduser -S -D -H -h /var/lib/git -s /bin/sh -G git -g git git 2>/dev/null
|
adduser -S -D -H -h /var/lib/git -s /bin/sh -G git -g git git 2>/dev/null
|
||||||
|
passwd -u git
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue