sudo を有効にする
インストール時のオプション選択によるのかもしれないが、有効にならない場合があったので有効にする方法をメモ。
- su -
- apt-get install sudo.
- sudo update-alternatives --config editor and select favorite editor.
- visudo.
- Add this line next to root ALL=(ALL) ALL.
- $User ALL=(root) ALL
- save and exit visudo.
$User で sudo を使用可能にするユーザー名を指定すればいい。