Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This lightweight module will stop users from being able to login as user 1 and optionally block the entire "administrator" role. This enforces users to have their own account and more specific roles.