0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

LPICレベル1を勉強しているあなたへ - systemdの動作するシステムにおいてシングルユーザモードから通常の状態に戻す方法 -

Posted at

・Ctrl-Dを入力する

・systemctl reboot コマンドを実行する

・systemctl default コマンドを実行する

「systemctl rescue」コマンドを使うと、
現在のランレベルをシングルユーザーモード
(systemdの rescue.target 起動に相当)
に変更することができます。

モード変更時には以下の画面表示になり、
rootユーザーのパスワードを入力するまで操作ができません。

「systemctl rescue」コマンドは
デフォルトのターゲットを変更しませんので、

「systemctl reboot」

コマンドで再起動すると、
デフォルトのターゲットで起動してきます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?