How did people earn a living in East Berlin/East Germany?

A very large part of the population moonlighted as informers for the Stasi.