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 this perl script does it, and returns an OKOK, the perl script runs under apache, im not sure how you make apache run sudo before launching the create/delete/modify scripts.
Any advice on this would be appreciated. Thanks, -Drew -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Hughes Sent: Monday, June 16, 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 script with root powers? I have to agree with Cameron that sudo is bound to be the safest way to go. I use it all the time for stuff that needs to be run as other users and love the fine grained control I can establish as well as the broad strokes for me of course:) Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
