A senior teacher's job ended after he got confidential information about a protected person from the school computer, which then found its way to his son in prison.