0
1

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.

【CentOS】ルートパスワード変更・忘れたとき

Last updated at Posted at 2020-10-01

ルートパスワードを変更したい時

passwd
  • 新しいパスワードの入力を求められるので、入力する。
  • 完了後は一度ログアウトして新しいパスワードでログインできるか確認する。

【参考記事】
【技術メモ】CentOS7でrootユーザーのパスワードを変更する

ルートパスワードを忘れた時

パスワードの変更の時とは違い、こちらは現在のパスワードを忘れてしまっているので何もできない。
そうなった時の対応。
CentOS7系では以下の記事を参考にするとわかりやすいかと。
【参考記事】
CentOS7/Redhatでrootユーザのパスワードを忘れた時にパスワードをリセットする方法

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?