2016-02-22から1日間の記事一覧

パスワードの最小長さを変更する方法

/etc/pam.d/common-password の次の行を書き換える。 # here are the per-package modules (the "Primary" block) password [success=1 default=ignore] pam_unix.so obscure sha512 ↓ # here are the per-package modules (the "Primary" block) password […

root パスワードを変更する方法

レシピに次の行を追記する。 inherit extrausers EXTRA_USERS_PARAMS = "usermod -P (パスワード) root;" 参考文献 FAQ:How do I set or change the root password - Yocto Project