When I su into root or any other user 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
or /usr/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
-rwsr-xr-x. 1 root root system_u:object_r:su_exec_t:s0 75736 May 20 2020 /us...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.