What is the process for Writing An Editorial??

I was just wondering on how official and unofficial editorials are written. Like whats the process, who can write those and how.
Also how does an editorialist get the problem setter and tester’s solutions.?

//