Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 14:25:07 -0500
From:      "joe" <joe@thebestisp.com>
To:        <freebsd-isp@FreeBSD.ORG>
Subject:   SUID in perl scripts
Message-ID:  <005601bd7536$d99757e0$027462d1@speed.thebestisp.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0053_01BD750C.F07E2C60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I am trying to write a PERL script to do some admin tasks via CGI and am =
running into a problem that I had not thought was going to be a problem =
I need to get the scripts to either run as root or be able to execute =
certain commands as root. anyone know how to do this? I have tried the =
suid bit in CHMOD but that doesn't seem to change anything.=20

Thanks,
joe@thebestisp.com

------=_NextPart_000_0053_01BD750C.F07E2C60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi all,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I am trying to write a PERL script =
to do some=20
admin tasks via CGI and am running into a problem that I had not thought =
was=20
going to be a problem I need to get the scripts to either run as root or =
be able=20
to execute certain commands as root. anyone know how to do this? I have =
tried=20
the suid bit in CHMOD but that doesn't seem to change anything. =
</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>joe@thebestisp.com</FONT></DIV></BODY></HTML>

------=_NextPart_000_0053_01BD750C.F07E2C60--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005601bd7536$d99757e0$027462d1>