When invoked as rbash login shell in MAC OS X 10.4.11, it fails to
execute in restricted mode, allowing cd and the use of / as leading command.
This is the installed version:
GNU bash, version 4.1.0(1)-release (powerpc-apple-darwin8.11.0)
Copyright (C) 2009 Free Software Foundation, Inc.
Licens
I'm wondering how to start bash without inheriting any environment
variables and user level profiles (such as .bash_profile). Would you
please let me know what option to use?
--
Regards,
Peng
On Wed, Apr 28, 2010 at 02:38:01PM -0500, Peng Yu wrote:
> I'm wondering how to start bash without inheriting any environment
> variables and user level profiles (such as .bash_profile). Would you
> please let me know what option to use?
env - "$(command -v bash)" --noprofile --norc
You'd proba
Peng Yu wrote:
> I'm wondering how to start bash without inheriting any environment
> variables and user level profiles (such as .bash_profile). Would you
> please let me know what option to use?
At login time only a bare minimum of environment variables exist. It
is already almost a minimal set.
> I'm wondering how to start bash without inheriting any environment
> variables and user level profiles (such as .bash_profile). Would you
> please let me know what option to use?
env -i bash --norc
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vit
On 4/26/10 7:38 PM, Isaac Salsberg wrote:
> When invoked as rbash login shell in MAC OS X 10.4.11, it fails to
> execute in restricted mode, allowing cd and the use of / as leading
> command.
What is $0 set to when bash is invoked as a login shell named rbash?
--
``The lyf so short, the craft s