A user connects via ssh. The user is also chroot-ed to their home directory. The goal is security.
Since the user is chroot-ed, when they login /bin/bash is not found. Obviously the user needs shell commands.
Shell access can be provided by
1) symlink /bin/bash to /home/username
2) mount --bind via /etc/fstab - preferred option because the servers often reboot.
Is there a difference in security between these 2 options?
Or is there a 3rd, more secure option?