Re: bash doesn't run as a login when when -c specified

2011-06-28 Thread Todd C. Miller
Thanks for the speedy reply. I checked the RedHat src rpm and they do enable NON_INTERACTIVE_LOGIN_SHELLS which explains why the versions I built myself behaved differently from the system bash. - todd On Mon, 27 Jun 2011 22:31:55 EDT, Chet Ramey wrote: > On 6/27/11 11:28 AM, todd.mil...@court

Re: bash doesn't run as a login when when -c specified

2011-06-27 Thread Chet Ramey
On 6/27/11 11:28 AM, todd.mil...@courtesan.com wrote: > Machine Type: x86_64-unknown-openbsd4.9 > > Bash Version: 4.2 > Patch Level: 10 > Release Status: release > > Description: > Newer versions of bash appear to ignore the '-' in argv[0] > when the "-c" option is specified. Th

bash doesn't run as a login when when -c specified

2011-06-27 Thread Todd . Miller
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: openbsd4.9 Compiler: cc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='openbsd4.9' -DCONF_MACHTYPE='x86_64-unknown-openbsd4.9' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/sha