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 1 year has passed since last update.

Alpineでsudoを使う

Posted at

rootで常用するのはよくないですから、sudoと一般ユーザーで最小限の権限で使いたい。

インストール

rootで

apk add sudo

を実行。

設定

rootで

visudo

を実行。
この場合はtestというユーザーに全権限を借りれるようにする。詳しい書式はmanや他の人のドキュメントを参照してください。

/etc/sudoers
test ALL=(ALL:ALL)

書式チェックしてもらう

visudo -c

怒られなかったら設定完了です。

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?