LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Can't use "su" (https://www.linuxquestions.org/questions/linux-general-1/cant-use-su-39476/)

juno 12-26-2002 11:54 PM

Can't use "su"
 
In our system, part of Login ID can't run ˇ§suˇ¨ to login as other user

eg.
# su - tommy
Password:
su: incorrect password

After I use ˇ§suˇ¨ and userid , it will pop up ˇ§incorrect passwordˇ¨ , someone can suggest how to fix it? Thx.

nxny 12-27-2002 12:08 AM

check the permissions on su.

su needs to be setuid. chmod u+s /path/to/su.

juno 12-27-2002 12:43 AM

Now the mode is

/bin> ll su
-rwsr-sr-x 1 root EDP 18452 Sep 24 2001 su

but still can't run "su" , do you have other solution? thx.

acid_kewpie 12-27-2002 04:23 AM

type in the right password?

yngwin 12-27-2002 05:34 AM

In Gentoo you need to make the user that you want to use su a member of the wheel group. Try that!

SlickWilly 12-27-2002 08:59 AM

Um.. silly question perhaps but..

you can login as tommy from a login prompt, right?

Slick.


All times are GMT -5. The time now is 02:35 AM.