Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

GitLab reset password

sudo gitlab-rake 'gitlab:password:reset[<username>]'
//example for user roor
sudo gitlab-rake 'gitlab:password:reset[root]'
//For docker container first enter container like:
sudo docker exec -it <containerID> bash
Comment

lost password gitlab

$> # On self-managed instances, replace gitlab.com in the command above with the GitLab server hostname (gitlab.example.com).
$> ssh git@gitlab.com 2fa_recovery_codes
Are you sure you want to generate new two-factor recovery codes?
Any existing recovery codes you saved will be invalidated. (yes/no)

yes

Your two-factor authentication recovery codes are:

119135e5a3ebce8e
11f6v2a498810dcd
3924c7ab2089c902
e79a3398bfe4f224
34bd7b74adbc8861
f061691d5107df1a
169bf32a18e63e7f
b510e7422e81c947
20dbed24c5e74663
df9d3b9403b9c9f0

During sign in, use one of the codes above when prompted for your
two-factor code. Then, visit your Profile Settings and add a new device
so you do not lose access to your account again.
Comment

PREVIOUS NEXT
Code Example
Shell :: change directory 
Shell :: how to erase router configuration in cisco packet tracer 
Shell :: run url in pip 
Shell :: create json from terminal 
Shell :: telnet command 
Shell :: copying folders in git bash 
Shell :: viu linux 
Shell :: nvmrc 
Shell :: git discard changes 
Shell :: instalar webmin ubuntu 20.04 
Shell :: scp from server to my computer 
Shell :: bash read file 
Shell :: git split commit into two 
Shell :: delete github repository git bash 
Shell :: linux kill ssh connection 
Shell :: start elasticsearch on aws 
Shell :: how to get the type of something in powershell 
Shell :: fix corrupt pdf command line 
Shell :: remove all files named ubuntu 
Shell :: git clone https://github.com/git/git 
Shell :: chmod 777 meaning 
Shell :: how to exit git in terminal 
Shell :: linux install software 
Shell :: python re.sub examples 
Shell :: view memory usage linux 
Shell :: substring in string shell 
Shell :: github cli download 
Shell :: terraform 
Shell :: How to add a shell script to launcher 
Shell :: dev/ktm not found 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =