[Gllug] Apache access to root-owned files
Jason Clifford
jason at ukfsn.org
Thu Jan 25 17:08:04 UTC 2007
On Thu, 25 Jan 2007, John G Walker wrote:
> > sudo calling a single command to effect the necessary change?
> >
> > That way you can configure sudo to only allow that specific command
> > to be used with root privileges.
>
> But wouldn't that still involve users having to know and use the root
> password?
No. You can configure sudo to allow use without a password and sudo never
needs the root password anyway - it uses the users password if you are
using passwords.
A command like this should work:
apache ALL = NOPASSWD: /usr/local/bin/command-to-run
Jason
--
UKFSN.ORG Finance Free Software while you surf the 'net
http://www.ukfsn.org/ up to 8Mb ADSL Broadband from just £14.98
http://www.linuxadsl.co.uk/ ADSL routers from just £21.98
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list