Strange effects of TZ on su -l

Tom Neff tneff at bfmny0.BFM.COM
Tue May 29 12:00:37 AEST 1990

My guess is that the environment setup 'su' does for the child process
includes something of the form


without quotes around the variable!

All I can suggest is that you create some cute front end shell script like

	TZ='"'$TZ'"' exec /bin/su $*

and use that instead of 'su'.  It should fool the child's shell.

More information about the Comp.unix.i386 mailing list