Merge branch 'redis-user-shell'
This commit is contained in:
commit
9d60ee4c12
|
@ -5,6 +5,7 @@ omnibus-gitlab repository.
|
|||
|
||||
8.14.0
|
||||
|
||||
- Switch the redis user's shell to /bin/false
|
||||
|
||||
8.13.1
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ groupadd -g 993 registry
|
|||
# Create accounts
|
||||
useradd -m -u 998 -g git -m -s /bin/sh -d /var/opt/gitlab git
|
||||
useradd -m -u 999 -g gitlab-www -m -s /bin/false -d /var/opt/gitlab/nginx gitlab-www
|
||||
useradd -m -u 997 -g gitlab-redis -m -s /bin/nologin -d /var/opt/gitlab/redis gitlab-redis
|
||||
useradd -m -u 997 -g gitlab-redis -m -s /bin/false -d /var/opt/gitlab/redis gitlab-redis
|
||||
useradd -m -u 996 -g gitlab-psql -m -s /bin/sh -d /var/opt/gitlab/postgresql gitlab-psql
|
||||
# useradd -m -u 995 -g gitlab-ci -m -s /bin/sh -d /var/opt/gitlab/gitlab-ci gitlab-ci
|
||||
useradd -m -u 994 -g mattermost -m -s /bin/sh -d /var/opt/gitlab/mattermost mattermost
|
||||
|
|
|
@ -414,7 +414,7 @@ default['gitlab']['redis']['log_directory'] = "/var/log/gitlab/redis"
|
|||
default['gitlab']['redis']['username'] = "gitlab-redis"
|
||||
default['gitlab']['redis']['uid'] = nil
|
||||
default['gitlab']['redis']['gid'] = nil
|
||||
default['gitlab']['redis']['shell'] = "/bin/nologin"
|
||||
default['gitlab']['redis']['shell'] = "/bin/false"
|
||||
default['gitlab']['redis']['home'] = "/var/opt/gitlab/redis"
|
||||
default['gitlab']['redis']['bind'] = '127.0.0.1'
|
||||
default['gitlab']['redis']['port'] = 0
|
||||
|
|
Loading…
Reference in New Issue