Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Configuration > Issue <<  407 of 606 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 4847
Last update: 01-18-05
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.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Configuration > Issue <<   407  of  606  >>