1834015 Members
2364 Online
110063 Solutions
New Discussion

can use "su"

 
SOLVED
Go to solution
juno2
Super Advisor

can use "su"

In our system, part of user can't use "su" to login as other user, can suggest how to solve ? thx.
4 REPLIES 4
monasingh_1
Trusted Contributor
Solution

Re: can use "su"

Check the permission of su command. It may not be executable by everybody. If it is only executable by certain group then you need to add the wanted users in the same group or make su executable by everybody .

hope this helps...
T G Manikandan
Honored Contributor

Re: can use "su"

Are you using sudo on your system.
If that is the case then you should check the configuration file of sudo tool

then check /etc/sudoers for the configuration.su can be restricted using sudo.

The other option would be a group would have been created and users who require the su access can be placed in that group.

What is the permissions of the su executable

REvert
U.SivaKumar_2
Honored Contributor

Re: can use "su"

Hi,

Check that /bin/su's owneer is root.

#chmod u+s /bin/su

Try again

regards,

U.SivaKumar

Innovations are made when conventions are broken
Norman_21
Honored Contributor

Re: can use "su"

Hi,

The permission for su should as following, to be executed by everyone:

-r-sr-xr-x 1 root sys

Thanks.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003