Re: Setuid in rh9?

2003-06-17 Thread Thornton Prime
>> Works for me. Still works for me. You might want to re-check your code and take it to some perl mailinglist. > here is basically what it boils down to: > > bash-2.05b$more create > #! /usr/bin/suidperl > -rwsr-sr-x2 root root 531516 Jun 16 20:37 > /usr/bin/suidperl > > -rwsr-xr-

Re: Setuid in rh9?

2003-06-17 Thread Drew Weaver
> > > Red Hat provides a setuid perl in the perl-setuid package. SetUID perl > > > includes its own restrictions and security precautions. > > > > Yeah they sure do, except it doesnt work under any circumstance, no matter > > what I do it says Can't do suid. > > Works for me. As mentioned, Perl has

Re: Setuid in rh9?

2003-06-17 Thread Thornton Prime
> > Red Hat provides a setuid perl in the perl-setuid package. SetUID perl > > includes its own restrictions and security precautions. > > Yeah they sure do, except it doesnt work under any circumstance, no matter > what I do it says Can't do suid. Works for me. As mentioned, Perl has a number o

Re: Setuid in rh9?

2003-06-17 Thread Drew Weaver
> > > | The correct answer would've been, rebuild perl with setuid. > > > > No. The correct answer is to stay the hell away from setuid, > > and use sudo which allows fine grained control. > > Red Hat provides a setuid perl in the perl-setuid package. SetUID perl > includes its own restrictions an

Re: Setuid in rh9?

2003-06-16 Thread Thornton Prime
> | The correct answer would've been, rebuild perl with setuid. > > No. The correct answer is to stay the hell away from setuid, > and use sudo which allows fine grained control. Red Hat provides a setuid perl in the perl-setuid package. SetUID perl includes its own restrictions and security pr

RE: Setuid in rh9?

2003-06-16 Thread Bret Hughes
On Mon, 2003-06-16 at 20:47, Drew Weaver wrote: > I guess the real question is why is there a perl-setuid rpm if it > doesn't function under any circumstance? > > -Drew > Could not tell you but it does not make too much sense to me. Bret -- redhat-list mailing list unsubscribe mailto:[EMAI

RE: Setuid in rh9?

2003-06-16 Thread Drew Weaver
I guess the real question is why is there a perl-setuid rpm if it doesn't function under any circumstance? -Drew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Hughes Sent: Monday, June 16, 2003 9:06 PM To: [EMAIL PROTECTED] Subject: RE: Setu

RE: Setuid in rh9?

2003-06-16 Thread Bret Hughes
On Mon, 2003-06-16 at 19:26, Drew Weaver wrote: > Ok, well im not trying to be difficult, this script adds/removes/changes > users in the passwd files. Basically what happens is a cold fusion > script on our db server contacts the mail server and says hey, add this > user, with this password, and t

RE: Setuid in rh9?

2003-06-16 Thread Drew Weaver
Please don't top post. On 20:08 16 Jun 2003, Drew Weaver <[EMAIL PROTECTED]> wrote: | The correct answer would've been, rebuild perl with setuid. No. The correct answer is to stay the hell away from setuid, and use sudo which allows fine grained control. -- Ok there mail list lieutenant, I won

RE: Setuid in rh9?

2003-06-16 Thread Drew Weaver
, 2003 8:29 PM To: [EMAIL PROTECTED] Subject: RE: Setuid in rh9? On Mon, 2003-06-16 at 19:08, Drew Weaver wrote: > The correct answer would've been, rebuild perl with setuid. > > Eh? > I have never used setuid in perl but would not that allow anyone to run it or worse create a

Re: Setuid in rh9?

2003-06-16 Thread Cameron Simpson
Please don't top post. On 20:08 16 Jun 2003, Drew Weaver <[EMAIL PROTECTED]> wrote: | The correct answer would've been, rebuild perl with setuid. No. The correct answer is to stay the hell away from setuid, and use sudo which allows fine grained control. -- Cameron Simpson <[EMAIL PROTECTED]> Do

RE: Setuid in rh9?

2003-06-16 Thread Bret Hughes
On Mon, 2003-06-16 at 19:08, Drew Weaver wrote: > The correct answer would've been, rebuild perl with setuid. > > Eh? > I have never used setuid in perl but would not that allow anyone to run it or worse create a script with root powers? I have to agree with Cameron that sudo is bound to be the

RE: Setuid in rh9?

2003-06-16 Thread Drew Weaver
The correct answer would've been, rebuild perl with setuid. Eh? -Drew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron Simpson Sent: Monday, June 16, 2003 7:22 PM To: [EMAIL PROTECTED] Subject: Re: Setuid in rh9? On 16:48 16 Jun 2003,

Re: Setuid in rh9?

2003-06-16 Thread Cameron Simpson
On 16:48 16 Jun 2003, Drew Weaver <[EMAIL PROTECTED]> wrote: | Howdy, I am finally replacing a very old Redhat 6.2 box with a brand new | shiny dell 2650 and redhat 9, the issue is i have some older perl scripts, | and they work great on Redhat 6.2, heck they even work great on Redhat | 9 assuming