FreeBSD jail 下的瑣事

這幾天又再弄 jail,遇到一些瑣事,想到就順便記下來。像是 jail 弄好之後發現沒有帳號可以登入,在 jail host 上:

cd /jail_path/etc
vim master.passwd
pwd_mkdb -d . master.passwd

其實也可以這樣:

vipw -d /jail_path/etc

不知道現在的書還會不會教這些...

This entry was posted in Computer, FreeBSD, Murmuring, Software. Bookmark the permalink.

One Response to FreeBSD jail 下的瑣事

  1. clsung says:

    助教有教的事...... :p

Leave a Reply

Your email address will not be published. Required fields are marked *