When I su into root I receive the following error 'su: cannot set groups: Operation not permitted'. What could be the cause of this?

Updated -

The most common cause of this error message is due to wrong SUID set on the user permissions for /bin/su.

When you do an ls -lt /bin/su you should see the following permissions:

-rwsr-xr-x    1 root     root        47522 Aug 12  2003 /bin/su

Notice that there is an rws for the user field of the permissions. This is th...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In