Re: Shell environment problem

2001-02-14 Thread tom carlile
probably because most linux systems simple have /bin/sh -> bash where Solaris doesn't do this. bash must be launching in this empty env and setting the variables upon initialization. i'd try writing a quick bash script that parses `env`, cuts the ENVNAME and unsets it if you want an empty shell.

Shell environment problem

2001-02-14 Thread Robert Kennedy
The stanza `env - /bin/sh` should launch a shell with no environment, right? It works on FreeBSD, AIX, Solaris, and OSF but not on Linux. It happens with /bin/sh and /bin/csh. I traced the program and nothing is getting sourced. How can I get a truly clean enivronment under Linux? Thanks, Ro