bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with "su"


From: Bob Proulx
Subject: Re: Problem with "su"
Date: Wed, 9 May 2001 21:15:34 -0600

> I'll try to change place of "su" form /bin to /home/specuser/bin for =
> security.
> (mv /bin/su /home/specuser/bin )
> then I have logged myself like specuser and I've tried to use "su" ex. : =
> su (enter)
>                                                                          =
>                             <root passwd>
> and the message "su: Mot de passe incorrect." appeared.
> 
> Ok! I thought then I moved again su from /home/specuser/bin to /bin and =
> tried
> again to use "su" but the same message is appeared.
> 
> What to do to repare the problem ?=20
> Why do the su when I execute it from an oder rep (directory) ?

It is likely that when you moved the file you lost the original
ownership and permission of the file.  It needs to be owned by root
and suid-root in order to function.  You will need to be root to
perform the fix if that is the problem.

  chown root:root /bin/su
  chmod 04755 /bin/su
  ll /bin/su
  -rwsr-xr-x    1 root     root        14184 Jul 12  2000 /bin/su

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]