Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 16:21:47 -0400 (EDT)
From:      <up@3.am>
To:        TrouBle <trouble@netquick.net>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>, freebsd-isp@freebsd.org
Subject:   Re: Running scripts as  root under Apache
Message-ID:  <Pine.GSO.4.10.9910261620590.17611-100000@richard2.pil.net>
In-Reply-To: <38160D23.8FF1A6BF@netquick.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Oct 1999, TrouBle wrote:

> okay, with a brief explaination i have scripts that run under apache,
> user/group/nobody... now say these scripts are to
> update/add/remove/modify users/passwords using either pw, or pwd_mkdb...
> how can i get around the errors of these utilities needing to be run as
> root, in order to be effective ???

suid is the traditional, insecure way to do it, sudo is safer.

James Smallacombe		      PlantageNet, Inc. CEO and Janitor
up@3.am							    http://3.am
=========================================================================
ISPF 3 - The Forum for ISPs by ISPs(tm)  ||  Nov 15-17, 1999, New Orleans
3 days of clues, news, and views from the industry's best and brightest.
     Visit <http://www.ispf.com/>; for information and registration.
=========================================================================



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?Pine.GSO.4.10.9910261620590.17611-100000>