Re: [Cooker] un-source /root/.bashrc ?

2002-08-16 Thread Ben Reser
On Fri, Aug 16, 2002 at 04:19:15PM -0400, Oden Eriksson wrote: > Great! > > Then "#!/bin/bash --norc" should be in the apache2 init script, and maybe use > a .bashrc in the apache users home dir instead. Thanks. I'd use #!/bin/sh unless you're using something that bash doesn't do in sh mode. W

Re: [Cooker] un-source /root/.bashrc ?

2002-08-16 Thread Oden Eriksson
On onsdagen den 14 augusti 2002 23.21 Ben Reser wrote: > On Tue, Aug 13, 2002 at 03:01:06PM -0400, Oden Eriksson wrote: > > Hi. > > > > Since all SysV scripts are now using bash they all source /root/.bashrc > > and use that ENV. How is the best practice to prevent this? > > > > rm -f /root/.bashr

Re: [Cooker] un-source /root/.bashrc ?

2002-08-14 Thread Ben Reser
On Tue, Aug 13, 2002 at 03:01:06PM -0400, Oden Eriksson wrote: > Hi. > > Since all SysV scripts are now using bash they all source /root/.bashrc and > use that ENV. How is the best practice to prevent this? > > rm -f /root/.bashrc ? Use #!/bin/sh not #!/bin/bash or #!/bin/bash --norc Search t

[Cooker] un-source /root/.bashrc ?

2002-08-13 Thread Oden Eriksson
Hi. Since all SysV scripts are now using bash they all source /root/.bashrc and use that ENV. How is the best practice to prevent this? rm -f /root/.bashrc ? -- Regards // Oden Eriksson Deserve-IT Networks -> http://d-srv.com