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

Re: setuid problem

2002-06-18 Thread Anthony E. Greene
daniel wrote: >i've got a script here that goes through a directory tree and blows away all >the files that netatalk puts in there for my mac users -- (i just don't like >this stuff all over the place). the problem is that i want this script to >always run as root, and i want to be able to edit

Re: setuid perl script needed

2001-04-09 Thread Bret Hughes
Matthew Simpson wrote: > Hi Bret, > > Where can I find info on sudo and howto set it up? Matt- The sudo rpm should be on the powertools cd the man pages are very good. sudo and sudoers are the ones I used and for a change there were actually examples. You will need to use visudo to edit the su

Re: setuid perl script needed

2001-04-09 Thread Werner Puschitz
Try using /usr/bin/suidperl or sudo. On Wed, 4 Apr 2001, Matthew Simpson wrote: > Hi All, > > Would anyone have an setuid script that could do something similar as > the following > > > The script needs to beable to do for example: > >o only allow changes to files under /www >o do a "c

Re: setuid perl script needed

2001-04-09 Thread Matthew Simpson
Hi Bret, Where can I find info on sudo and howto set it up? Matt >Matthew Simpson wrote: > >> Hi All, >> >> Would anyone have an setuid script that could do something similar as >> the following >> >> The script needs to beable to do for example: >> >> o only allow changes to files unde

Re: setuid vs executing as that user

2000-07-20 Thread Anthony E . Greene
On 20 Jul 2000 21:12 Bret Hughes wrote: >I would like to run netscape as a different user from a >script to display some images. I (apparently mistakenly) >thought that if I ran netscape from a script with the setuid >bit set and the owner of the script being the user I want, >that I could then l

Re: setuid

1999-12-13 Thread Todd A. Jacobs
On Fri, 10 Dec 1999, Steve Lee wrote: > what does it mean to run something setuid It means the program assumes a user id other than that of the person running the file. For example, if something needs to be run as root, you can set a program to be suid root, and it will run as root regardless of

Re: setuid

1999-12-10 Thread lloy0076
Steve Lee wrote: > > what does it mean to run something setuid It means the program runs as root even though another non-root user has run it. -- THE LINUX C AND C++ MAILING LISTS ARE ABOUT TO MOVE! mailto:[EMAIL PROTECTED] THE LINUX C AND C++ MAILING LISTS ARE ABOUT TO MOVE! mailto:[EMAIL

Re: setuid

1999-12-10 Thread Brian
On Fri, 10 Dec 1999, Steve Lee wrote: > is that the s when you do chmod +x you mean when you do +s? yes. chmod 4000 filename will add the setuid bit chmod +s filename will do the same. Brian > > On Fri, 10 Dec 1999, Brian wrote: > > > On Fri, 10 Dec 1999, Steve Lee wrote: > > > > > >

Re: setuid

1999-12-10 Thread Steve Lee
is that the s when you do chmod +x On Fri, 10 Dec 1999, Brian wrote: > On Fri, 10 Dec 1999, Steve Lee wrote: > > > > > what does it mean to run something setuid > > It means that when you run the program, the program changes to the uid of > the owner of the program. So if you have a program

Re: setuid

1999-12-10 Thread Brian
On Fri, 10 Dec 1999, Steve Lee wrote: > > what does it mean to run something setuid It means that when you run the program, the program changes to the uid of the owner of the program. So if you have a program and its owned by root, and you make it setuid root and executable (chmod 4755), then

Re: setuid

1999-12-10 Thread Bruce Richardson
On 10 Dec, Steve Lee wrote: > > what does it mean to run something setuid > It means that the program will be run with the User ID of it's owner. This is mostly done to allow standard users to do things that require root privileges. -- Bruce -- To unsubscribe: mail [EMAIL PROTECTED] with

Re: setuid script

1999-12-03 Thread Steven W Orr
Look at sudo. Get it from rufus. -- --Time flies like the wind. Fruit flies like a banana. Stranger things have happened but none stranger than this.- Steven W. Orr [EMAIL PROTECTED] ---"Listen to me! We are all individuals."-

Re: setuid ? how ?

1998-06-14 Thread altex
>Just a bit more info (for those who wish and/or care to know..) :) > >The 'chmod' (Change Mode) command in the *nix world has two different >methods (modes) of operation. One is known as the 'symbolic' mode, and is >represented by an octal number. >Now here's how these 'octal numbers' can be

Re: Fwd: Re: setuid ? how ?

1998-06-13 Thread Leston Buell
Thanks. Putting in the whoever.net after the word "search" did the trick. The nameserver addresses were already in there, although i have no idea how they got there. This has now rendered my Linux setup half usable. Thank again. Leston >Do you have your ISP's namesevers listed in /etc/resolv.con

Re: setuid ? how ?

1998-06-11 Thread Bill Fox
x27;. (Same as chmod 0440). There's more to it, of course, but this should give you a basic idea of how it all works. Hokay, I'm half asleep, going to bed now G'nite. -Original Message- From: dreamwvr <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>

RE: setuid ? how?

1998-06-10 Thread Lee Kirby
>I have a similar question. I want to use ezppp as a non-root user, but i >get a message saying: If I were you, I wouldn't setuid pppd, instead, I would use sudo. I run a 5.0 machine, and after installing all of the errata, and sudo, I found that visudo (/etc/sudoers editor) runs as expected no

Re: setuid ? how ?

1998-06-10 Thread dreamwvr
If memory serves chmod 4755 /path/to/pppd At 08:16 AM 6/10/98 -0700, you wrote: >I have a similar question. I want to use ezppp as a non-root user, but i >get a message saying: > > must be root to run pppd, since it is not setuid-root > >I went to the man pppd page but still couldn't figur

Re: setuid ? how ?

1998-06-10 Thread Gree
I just went through this shit when I started creating users. I'm not real adept at the whole process yet but "chmod u+s /usr/sbin/pppd helped me. As far as I understand it this sets the user id of pppd as root whenever it is started. Like I said, I'm not to sure yet. Gree Leston Buell wrote:

Re: Fwd: Re: setuid ? how ?

1998-06-10 Thread Ray Curtis
> "lb" == Leston Buell <[EMAIL PROTECTED]> writes: lb> Oh. Now i am just S close to being able to use Linux as a non-root lb> user. I did: >> chmod a+s /usr/sbin/pppd lb> as you instructed, and now my dial-up works fine. But now i need to know lb> how to be able to use Netscape as a

Fwd: Re: setuid ? how ?

1998-06-10 Thread Leston Buell
Oh. Now i am just S close to being able to use Linux as a non-root user. I did: >chmod a+s /usr/sbin/pppd as you instructed, and now my dial-up works fine. But now i need to know how to be able to use Netscape as a non-root. When i click on a link i get a "no DNS" error scree

Re: setuid ? how ?

1998-06-10 Thread Maxwell Smart
On 10-Jun-98 Leston Buell wrote: > I have a similar question. I want to use ezppp as a non-root user, but i > get a message saying: > > must be root to run pppd, since it is not setuid-root > > I went to the man pppd page but still couldn't figure out what to do. Just type chm

Re: setuid ? how ?

1998-06-10 Thread Leston Buell
I have a similar question. I want to use ezppp as a non-root user, but i get a message saying: must be root to run pppd, since it is not setuid-root I went to the man pppd page but still couldn't figure out what to do. Leston At 01:30 PM 6/10/98 +0300, you wrote: >how do I change the