in reply to Premature end of script headers more annoying than usual . . .

I had tried that earlier, when still tossing this issue around in the cb, only without the single quotes around the script name, but got these same results.

[root@s15261758 cgi-bin]# su apache -c './test_ult.cgi' This account is currently not available. and grep apache /etc/passwd says: apache:x:48:48:Apache:/var/www:/sbin/nologin
so the account does in fact exist.

if( $lal && $lol ) { $life++; }
  • Comment on Re: Premature end of script headers more annoying than usual . . .
  • Download Code

Replies are listed 'Best First'.
Re^2: Premature end of script headers more annoying than usual . . .
by ig (Vicar) on Nov 22, 2008 at 22:25 UTC

    su says This account is currently not available because the shell is /sbin/nologin

    You can specify an alternate shell as follows:

    # su apache -s /bin/bash -c './test_ult.cgi'
Re^2: Premature end of script headers more annoying than usual . . .
by Anonymous Monk on Nov 21, 2008 at 18:04 UTC
    so the account does in fact exist.
    Maybe, but its still not available.