Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Premature end of script headers more annoying than usual . . .

by hesco (Deacon)
on Nov 21, 2008 at 15:42 UTC ( [id://725158]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://725158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found