WASHINGTON — Military members who harass or bully people on the job or online can now be certain of a permanent mark on their service record, according to a new Pentagon policy on harassment.

The policy being announced Thursday pulls together a complicated mix of rules governing sexual harassment, bullying, hazing and other forms of hostile online behavior and workplace discrimination. The goal is to clarify the process for victims filing complaints and make sure that those responsible are held to account for their actions.

The overhaul comes almost a year after an online nude photo sharing scandal rocked the Marine Corps. The ensuring criminal investigation forced leaders across all the military services to create more vigorous social media standards. The scandal showed how difficult it is to track or govern inappropriate behavior by military members in the largely anonymous online universe.

Pentagon officials said consolidating various harassment policies will make it easier for victims to report problems, seek help and see the consequences for offenders. Until now, some members of the military who engaged in such actions could face punishment but then see any mention of the infractions expunged from their records.

The military services will have 60 days to develop plans to put in place the policy.

"We have a sexual harassment policy, we have a memo that clarifies response and reporting of sexual harassment, we have regulations on hazing and bullying, we have a policy that covers discriminatory harassment," said Elise Van Winkle, the Pentagon's principal director for force resiliency. "What this does is pull these together to cover all forms of harassment."