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?

Macbookでsuのpasswdを設定した

Posted at

Dockerのバグ対処のため
Terminalでsuになる必要があったのですがSorryと言われてしまう😳

Air Docker % su -
Password:
su: Sorry

なんで?🤔

どうやら私の購入したMacOSでは
デフォルトでrootのパスワードが設定されてないらしいです😔

というわけでrootのpasswdを設定🖋

Air Docker % sudo passwd root
Password:
Changing password for root.
New password:
Retype new password:
Air Docker % su -
Password:
Air:~ root# 

オッケー❗️🤗

参考にさせていただいた、いづ様のエントリー

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?