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 through the bash man page it explains what files get sourced under what circumstances. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org If your love has no hope of being welcomed do not voice it; for if it be silent it can endure, a guarded flame, within you. - The Wisdom of the Sands
