A man was caught on video lathering up and giving himself a shave while riding on a New Jersey train.

A fellow rider on the 6:55 p.m. Northeast Corridor line of New Jersey Transit took the video Thursday night and tweeted it . Some commenters said they were impressed by the unidentified man's shaving skills, while others felt "grossed out."

NJ Transit says it prohibits bathing or shaving aboard trains and buses. Conductors can ask customers to stop and, if they refuse, the conductor can notify police. But that didn't happen Thursday.

Pete Bentivegna posted the video. He tweeted: "I’ve been commuting for almost 20 years on this line and it’s right up there with the strangest things I’ve seen for sure."

He says the clean-shaven man then opened and drank a beer.

The Associated Press contributed to this report.