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

SSH not working with password after upgrade ubuntu 22.04 or above

In recent upgrade of ubuntu 22.04 and above we are not able to login server with SSH password. but when we try to login with key then it all...