Re: Unable to su -

2000-09-18 Thread John Aldrich
On Mon, 18 Sep 2000, Michael H. Warfield wrote: > > I noticed on the info he posted that MY permissions on SU have the > > SUID bit set and his doesn't. I don't know if that would cause it or > > not. > > Yup... That was it. He could run it, it just couldn't read > the shadow file (nor wo

Re: Unable to su -

2000-09-18 Thread Michael H. Warfield
On Mon, Sep 18, 2000 at 01:26:33PM -0400, John Aldrich wrote: > On Mon, 18 Sep 2000, Michael H. Warfield wrote: > > > > That would have gotten him "permission denied" when he tried > > to run it. That would come from the shell when it tried to exec a > > binary with incorrect permissions. G

RE: Unable to su -

2000-09-18 Thread John Aldrich
On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > > > > > Interesting. On my stock RH 6.2 machine, the permissions are > > -rwSr-xr-x (caps for emphasis only.) > > > > Try "chmod +s /bin/su" > > John > > It looks like my recent restore I did on that machine, did not preserve the > setuid bit

Re: Unable to su -

2000-09-18 Thread John Aldrich
On Mon, 18 Sep 2000, Michael H. Warfield wrote: > > That would have gotten him "permission denied" when he tried > to run it. That would come from the shell when it tried to exec a > binary with incorrect permissions. Getting the generic "incorrect > password" means that su actually did r

RE: Unable to su -

2000-09-18 Thread Kraszewski, Marcin
> -Original Message- > From: John Aldrich [mailto:[EMAIL PROTECTED]] > Sent: Monday, 18 September, 2000 13:11 > To: [EMAIL PROTECTED] > Subject: RE: Unable to su - > > > On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > > > > I checked the per

Re: Unable to su -

2000-09-18 Thread Michael H. Warfield
On Mon, Sep 18, 2000 at 01:07:27PM -0400, Kraszewski, Marcin wrote: [...] > I checked the permissions for 'su', and they are fine: > -rwxr-xr-x 1 root root13208 Apr 13 1999 /bin/su No, that's bad... That's mode 755. It needs to be mode 4755: "-r

Re: Unable to su -

2000-09-18 Thread Michael H. Warfield
On Mon, Sep 18, 2000 at 12:51:30PM -0400, John Aldrich wrote: > On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > > Hi everyone, > > > > Really strange situation: I can log on as root at the console (RH6.0, kernel > > 2.2.16-3), but if I log on as a regular user, and then try to run 'su -', > > af

RE: Unable to su -

2000-09-18 Thread John Aldrich
On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > > I checked the permissions for 'su', and they are fine: > -rwxr-xr-x 1 root root13208 Apr 13 1999 /bin/su > Interesting. On my stock RH 6.2 machine, the permissions are -rwSr-xr-x (caps for emphasis only.) Try "chmod +s /bin/su"

RE: Unable to su -

2000-09-18 Thread Kraszewski, Marcin
> -Original Message- > From: John Aldrich [mailto:[EMAIL PROTECTED]] > Sent: Monday, 18 September, 2000 12:52 > To: [EMAIL PROTECTED] > Subject: Re: Unable to su - > > On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > > Hi everyone, > > > > Really

Re: Unable to su -

2000-09-18 Thread John Aldrich
On Mon, 18 Sep 2000, Kraszewski, Marcin wrote: > Hi everyone, > > Really strange situation: I can log on as root at the console (RH6.0, kernel > 2.2.16-3), but if I log on as a regular user, and then try to run 'su -', > after I enter the root password I get "su: incorrect password" error > messa

Unable to su -

2000-09-18 Thread Kraszewski, Marcin
Hi everyone, Really strange situation: I can log on as root at the console (RH6.0, kernel 2.2.16-3), but if I log on as a regular user, and then try to run 'su -', after I enter the root password I get "su: incorrect password" error message. I changed the root password a few times, checked the ca