permit a dash in both the logname and user fields