web archive

[Paul Venezia] "Nine traits of veteran Unix admin"


In fact, for Unix-like operating systems that force sudo upon all users, the first thing we do is sudo su - and change the root password so that we can comfortably su - forever more.

Using sudo exclusively is like bowling with only the inflatable bumpers in the gutters -- it's safer, but also causes you to not think through your actions fully.


実際、Unix-like な OS だと、すべての ユーザに 対して、まず 初めに sudo su を 使うよう 強く 推められ - それで root の パスワードを (user の ものに) 変更することで 気楽に su が 使えるようになる - ずっとね。

それだけじゃ なく、いつも sudo を 使うと いうことは ガーターに エアバンパーを つめて ボーリングを するようなもので -- とても 安全だ。 でも (それって) きちんとした 作業を 通して 考えることを しなくなる 要因でも あるんだな。

http://www.infoworld.com/print/151276
ぼくの 場合 shutdown のときは、GUI tools を 使わずに、いつも ターミナルで root に 変わってから コマンドを 打ち込んでるけどね。
$ su
Password:
# /sbin/shutdown -h now
(参考) http://www.debian.org/doc/manuals/debian-reference/ch01.ja.html#_sudo_configuration
(追記) "ssh ごしに sudo で サーバに アクセスする 方法"
http://www.shermann.name/2011/02/sudo-over-ssh-magic.html
へ〜、こんなこと できるんだ ...