作業の前に、失敗に備えて複数の仮想コンソールからログインしておくこと。
CBLFS(Community Driven BLFS)を参考にする。
サンプルの設定だと一般ユーザーでchfnとchshを実行できなかったので、下記のように/etc/pam.d/{chsh,chfn}にauth行を追加した。(2009/05/10)
auth sufficient pam_rootok.so auth include system-auth account required pam_permit.so account include system-auth password include system-auth
SudoについてはBLFS参照。