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
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
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
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