Red Hat Enterprise Linux > Configuration > Issue
<<
407 of 606
>>
Issue:
When I su into root I receive the following error 'su: cannot set groups: Operation not permitted'. What could be the cause of this?
Resolution:
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 the SUID which allows su to be run with root privileges. In order to correctly set the permissions for
/bin/su execute the following command:
# chmod u+s /bin/su
Use
ls -lt /bin/su to verify your changes.
Red Hat Enterprise Linux
>
Configuration
> Issue
<<
407
of
606
>>