Re: path for user www

2009-06-15 Thread Mel Flynn
On Monday 15 June 2009 06:29:13 Paul Schmehl wrote: > Why would you want to? You'd open yourself up to all sorts of potential > compromise paths. There's a reason why root's path is different from > normal users. Without forcing a PATH for apache, you open yourself up to exactly the things you

Re: path for user www

2009-06-15 Thread Mel Flynn
On Monday 15 June 2009 06:15:11 Pieter Donche wrote: > Now I see from reading the apache start-up script /usr/local/sbin/apachectl > that one can create a file with instructions to be executed at > startup of Apache: any file in /usr/local/etc/apache22/envvars.d is > sourced into the start up envi

Re: path for user www

2009-06-15 Thread Paul Schmehl
--On Monday, June 15, 2009 07:16:51 -0500 Pieter Donche wrote: On Mon, 15 Jun 2009, Robert Huff wrote: Pieter Donche writes: How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/u

Re: path for user www

2009-06-15 Thread Pieter Donche
On Mon, 15 Jun 2009, Valentin Bud wrote: On Mon, Jun 15, 2009 at 3:16 PM, Pieter Donche wrote: On Mon, 15 Jun 2009, Robert Huff wrote: Pieter Donche writes: How can one change the PATH for the user www ? to include e.g. /

Re: path for user www

2009-06-15 Thread Valentin Bud
On Mon, Jun 15, 2009 at 3:16 PM, Pieter Donche wrote: > On Mon, 15 Jun 2009, Robert Huff wrote: > > >> Pieter Donche writes: >> >>> How can one change the PATH for the user www ? >>> to include e.g. /usr/local/bin >>> >>> In /etc/passwd the entry now is: >>> www:*:80:80:World Wide Web Owner:/n

Re: path for user www

2009-06-15 Thread Pieter Donche
On Mon, 15 Jun 2009, Robert Huff wrote: Pieter Donche writes: How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin Start by reading the section 5 man page fo