Linux Programmer | RHCE | RHCSA

Search This Blog

Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

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.

 

Saturday, 22 December 2018

Error while connecting RDP "an authentication error has occurred the token supplied to the function is invalid".

an authentication error has occurred the token supplied to the function is invalid

I have installed xrdp 0.9.8 at server side.

Remote desktop connections are working fine when i am connect it from windows 8/10.

but when i am trying to connect RDP from windows 7 it is showing error which is showing on left side.








in xrdp 0.9.8 TLSv1.2 and TLSv1.3 is added by default.
in older version of windows system TLSv1.3 was not supported. thats why it is not connecting with xrdp server.

To resolve this issue from server side follow the steps below.
1. Login to xrdp server.
2. navigate to xrdp configuration file location,

$cd /etc/xrdp
$vim xrdp.ini

replace
ssl_protocols=TLSv1.2, TLSv1.3
with
ssl_protocols=TLSv1, TLSv1.1

3. Restart xrdp service.
$ service xrdp restart

M3 Button not working in Wayland

Mouse M3 button not working in wayland - ubuntu 26.04 1. Check your desktop Run: echo $XDG_SESSION_TYPE echo $XDG_CURRENT_DESKTOP 2. If...