flagflag  If you want to see English page, please click "English" Button at Left.
1: 2021-06-28 (月) 19:17:39 iseki ソース 2: 2021-06-28 (月) 20:02:01 iseki ソース
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


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

80 人のユーザが現在オンラインです。 (18 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 80

もっと...

アクセスカウンタ

今日 : 1044710447104471044710447
昨日 : 1753317533175331753317533
総計 : 2347359023473590234735902347359023473590234735902347359023473590
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com