flagflag  
1: 2021-06-28 (Mon) 19:17:39 iseki source 2: 2021-06-28 (Mon) 20:02:01 iseki source
Line 1: Line 1:
* GitLab [#h4c33028] * GitLab [#h4c33028]
#br #br
 +*** 起動 [#cd57f833]
 +- サービス: gitlab-runsvdir.service
 +#br
 +*** root のパスワード変更 [#t6848d95]
 +- gitlab-rails console -e production
 +-- user = User.where(id: 1).first
 +-- user.password = '********'
 +-- user.password_confirmation = '********'
 +-- user.save!
 +-- exit
 +
 + ---------------------------------------​----------------------------------------​-
 +  Ruby:        ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
 +  GitLab:      14.0.1 (76b84b42f64) FOSS
 +  GitLab Shell: 13.19.0
 +  PostgreSQL:  12.6
 + ---------------------------------------​----------------------------------------​-
 + Loading production environment (Rails 6.1.3.2)
 + irb(main):001:0> user = User.where(id: 1).first
 + => #<User id:1 @root>
 + irb(main):002:0> user.password = '********'
 + => "********"
 + irb(main):003:0> user.password_confirmation = '********'
 + => "********"
 + irb(main):004:0> user.save!
 + Enqueued ActionMailer::MailDeliveryJob (Job ID: 529eea94-54df-4468-908b-9db35758e7dd) to Sidekiq(mailers) with arguments: "DeviseMailer", "password_change", "deliver_now", {:args=>[#<GlobalID:0x00007fa9fe922160 @uri=#<URI::GID gid://gitlab/User/1>>]}
 + => true
 + irb(main):005:0> exit


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

28 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 28

more...

Access Counter

Today : 4143414341434143
Yesterday : 8599859985998599
Total : 2365114923651149236511492365114923651149236511492365114923651149
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com