環境
- Raspberry Pi 2
- Raspbian Jessie with PIXEL :
2016-09-23-raspbian-jessie.img
- Raspbian Jessie Lite :
2016-09-23-raspbian-jessie-lite.img
概要
- 2016年11月、
sudo apt-get update ; sudo apt-get dist-upgrade
をやったときでてきたメッセージ - ユーザ
pi
で、sudo
使ったとき、パスワード聞かれない、って設定が、/etc/sudoers
から、/etc/sudoers.d/010_pi-nopasswd
に移ったよ、 - で、前の(バージョンとかの)設定で、そのあたり変更して引き継いで使ってる人は注意、って話。(条件で、ごにょごにょしてくれるらしいけど)
原文(一部改行削除)
raspberrypi-sys-mods (20161018+3) jessie; urgency=medium
* The 20161018 release has introduced a /etc/sudoers.d/010_pi-nopasswd file.
- The file is installed even if the "pi ALL=(ALL) NOPASSWD: ALL" entry has been previously removed from /etc/sudoers by the user.
- If you do not want the entry to exist, please comment out or remove 010_pi-nopasswd.
- If upgrading to 20161018+3 from a version earlier than 20161018, the line in 010_pi-nopasswd is automatically commented out if the entry doesn't exist in sudoers.
- See https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/6
-- Serge Schneider <serge@raspberrypi.org> Wed, 19 Oct 2016 10:52:07 +0100
(q to quit)
/etc/sudoers.d/010_pi-nopasswd
pi@raspberrypi:~ $ sudo cat /etc/sudoers.d/010_pi-nopasswd
pi ALL=(ALL) NOPASSWD: ALL
pi@raspberrypi:~
ぐ~ぐる先生による翻訳
訳
raspberrypi-sys-mods(20161018 + 3)jessie; 緊急度=中程度
* 20161018リリースでは、/etc/sudoers.d/010_pi-nopasswdファイルが導入されました。
- "pi ALL =(ALL)NOPASSWD:ALL"エントリが以前にユーザによって/ etc / sudoersから削除されていても、ファイルはインストールされます。
- エントリが存在しないようにするには、010_pi-nopasswdをコメントアウトまたは削除してください。
- 20161018より前のバージョンから20161018 + 3にアップグレードする場合、エントリがsudoersに存在しない場合、010_pi-nopasswdの行は自動的にコメントアウトされます。
- https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/6を参照してください。
- Serge Schneider <serge@raspberrypi.org>水曜日、2016年10月19日10:52:07 +0100
その他
- ぐーぐる先生の翻訳、よくなってる?