su HAS to be suid root. Irregardless of shadow passwords.
If I am user x, and I want to become user y, the process that calls
seteuid() HAS to be running as UID 0. Since this process is su,
it needs to be run by root or as root, i.e. setuid root.
If you chown root.shadow su, and then chmod it 2
On Tue, 1 Jun 1999, Pollywog wrote:
>
> On 01-Jun-99 Brad wrote:
> > The same thing happened to me. It appears that in the latest shellutils
> > package, someone forgot to mark that su should be suid root (or sgid
> > shadow when using shadow passwords).
>
> I did not know it had to be gid root.
On 01-Jun-99 Pollywog wrote:
>
> On 01-Jun-99 Pollywog wrote:
>>
>> I did not know it had to be gid root.
> oops I meant suid gid
Wait a minute. What is the correct term there, guid, right?
--
Andrew
On 01-Jun-99 Pollywog wrote:
>
> I did not know it had to be gid root.
oops I meant suid gid
My laptop has /bin/su suid root and
> both use shadow passwords. I did install the newest shellutils today.
>
> thanks
>
> --
> Andrew
On 01-Jun-99 Brad wrote:
> The same thing happened to me. It appears that in the latest shellutils
> package, someone forgot to mark that su should be suid root (or sgid
> shadow when using shadow passwords).
>
> "chmod 4755 /bin/su" fixes it. You'll have to login as root to do so
> though ;)
I
The same thing happened to me. It appears that in the latest shellutils
package, someone forgot to mark that su should be suid root (or sgid
shadow when using shadow passwords).
"chmod 4755 /bin/su" fixes it. You'll have to login as root to do so
though ;)
On Tue, 1 Jun 1999, Pollywog wrote:
> I
On 01-Jun-99 Pollywog wrote:
> I just started having a problem with su. It tells me "wrong password" but I
> can log in from a console as root with the same password.
>
> I just upgraded the /etc/pam.d stuff and I wonder if this is the cause of
> this
> problem.
>
> thanks
>
> btw, should /bi
I just started having a problem with su. It tells me "wrong password" but I
can log in from a console as root with the same password.
I just upgraded the /etc/pam.d stuff and I wonder if this is the cause of this
problem.
thanks
btw, should /bin/su have the suid bit set? It does not.
--
And
8 matches
Mail list logo