chrootsetup: make sure bsd-ish chroots have etc/auth.conf
commit38fd53a1ad4aae0cff9f2bc9cc25b6032506bccd
authorKyle J. McKay <mackyle@gmail.com>
Sun, 9 Oct 2016 09:03:19 +0000 (9 02:03 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 9 Oct 2016 09:03:19 +0000 (9 02:03 -0700)
tree87b0e9379aa149db37993caff2cc5fb1a5be781e
parent8fd15702e6d3e797fcf341a69e1ed56c2f40b3dd
chrootsetup: make sure bsd-ish chroots have etc/auth.conf

Create an empty etc/auth.conf file in the chroot if no etc/auth.conf
file exists.

This prevents a warning message from being spewed every time a user
connects to the chroot sshd instance.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
chrootsetup_dragonfly.sh
chrootsetup_freebsd.sh