Re: problem su'ing

1999-06-02 Thread Carl Mummert
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

Re: problem su'ing

1999-06-02 Thread Brad
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.

Re: problem su'ing

1999-06-01 Thread Pollywog
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

Re: problem su'ing

1999-06-01 Thread Pollywog
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

Re: problem su'ing

1999-06-01 Thread Pollywog
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

Re: problem su'ing

1999-06-01 Thread Brad
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

RE: problem su'ing

1999-06-01 Thread Pollywog
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

problem su'ing

1999-06-01 Thread Pollywog
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