Motherjones had a reporter get a job as a prison guard. His experience was similar: if he doesn't play nice with the inmates they will make his life hell. This was at a private prison, so the under-staffing issue might be more pronounced, but the principle applies.