LoginSignup
0
1

More than 3 years have passed since last update.

centos6 or 7におけるsudoの追加

Last updated at Posted at 2018-08-30

自分用のメモ書き。

  1. root権限で visudo コマンドを実行

  2. 以下の場所のコメントアウトを外す(自分の場合はなぜかすでに外れていた)
    ## Allows people in group wheel to run all commands
    #%wheel ALL=(ALL) ALL

    ## Allows people in group wheel to run all commands
    %wheel ALL=(ALL) ALL

  3. usermod -G wheel <ユーザ名>を実行

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