Using an init.sqf to set civilians hostile to the player (in the tested case, independent setFriend[civilian, 0]; civilian setFriend[independent, 0];) causes the non-hosting players to sometimes be unable to enter some vehicles.
The behaviour is inconsistent, as in some tested missions both players were able to enter all vehicles consistently, while in others the bug was consistently present. {F20929}