Mounting Kerberized NFS at boot

Ross basarevych at gmail.com
Fri Oct 28 11:40:37 UTC 2016


Hello

I have NIS, Kerberos and NFSv4. Exported shares use sec=krb5i, and it seems
in order to mount these you have to have a Kerberos ticket. And root while
booting the client system does not.

So far I ended up putting this to rc.local:

kinit -t /etc/krb5.keytab host/myhostname.lan
mount /home
mount /storage

And those mounts are set to "noauto" in fstab. It works. But is there a
better way to do it? I mean without kinit in rc.local and only using fstab?


More information about the freebsd-questions mailing list