One user out of a sudoers group cannot run 'su -'

Solution Verified - Updated -

Issue

  • The user 'user2' is not able to run the following command:
$ sudo su - user3
  • This user belongs to the group admingroup which has following configuration in sudoers file
    %admingroup ALL=(root) /bin/su - user1, /bin/su - user3

  • Other users from the group are able to run the command, but not this user.

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content