关于sudo的两事
|
|
访问
本文共240字,阅读完需要约1分钟。
版权声明: 知识共享-版权归属-相同方式共享 3.0 授权协议 | CC BY-SA 3.0 CN
With great power comes great responsibility.
about “This incident will be reported.”
显然,世界上并没有圣诞老人;而incident将会被report到哪里这个问题,在askubuntu
上得到了一个很好的回答。[1]
tail /var/log/auth.log
- or use journalctl:
journalctl /usr/bin/sudo
- or use gnome logs
about sudo warnings
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
- 1993年6月的提交中已经出现了sudo warnings的前两条。
- 2002年6月在Red Hat的sudo package中出现了第三条。
- 2004年1月被添加到官方仓库。[2]
By the way, 虽然With great power comes great responsibility经常被认为是蜘蛛侠的名言,但是事实上在Stan Lee之前就有很多人以十分近似的格式表达过相同的思想了。