Linux Programmer | RHCE | RHCSA

Search This Blog

Friday, 29 October 2021

Disable sign up form on gitlab

 For your gitlab security it is necessary to disable signup form. because anyone can create new user and start working on it.

  • Login with administrator account
  • Click on Settings symbol on top of page.
  • Click on settings on left corner of page.
  • General.
  • Expand on signup restrictions.
  • Disable the signup page.

If error 500 showing at that time of saving page then,


  1. Open terminal where gitlab installed.

  2. Open gitlab console by entering below command.

    1. gitlab-rails c

      1. settings = ApplicationSetting.last

      2. settings.update_column(:runners_registration_token_encrypted, nil)

      3. exit

  3. Restart gitlab.

    1. gitlab-ctl restart


Now, follow above steps again to disable sign up.

 

No comments:

Post a Comment

MIG - NVIDIA

The new Multi-Instance GPU (MIG) feature allows GPUs (starting with NVIDIA Ampere architecture) to be securely partitioned into up to seven ...