No employer must permit or require any person other than a competent person or a person who has been trained to the satisfaction of an inspector to do any work on or near moving or electrically alive machinery if such work may endanger him: However this requirement shall not apply in respect of the operation of machinery under the general supervision of a shifts man.