Join GitHub today
Mandatory info for bug reports:
FreeBSD version ( uname -a ): 12.0-RELEASE-p6
CBSD version ( cbsd version ): 12.0.12
I don't think that this is really a bug, more of an annoyance for those people that need to setup SSH with public key authentication on additional user accounts created by jconstruct-tui E.g. for Ansible.
The home directory of the additional user is created with g+w permission. To get SSH public key authentication working the home directory needs to be chmod 700.
Obviously, to get SSH working for the additional user lots of other things need to be done such as generating keys which is why I think this issue is more of an annoyance than a bug as it could be done by another script written by the SysAdmin that does this prep. It's annoying if you are unaware of the SSH requirement for tighter home directory permissions or have forgotten about it and spent some time trying to debug the SSH connection.
If jconstruct-tui creates additional home directories with mode 700 it would be one less thing to be concerned about when setting up jail user accounts.