The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

postwwwacctuser doesn't run. Any requierement?

Discussion in 'General Discussion' started by mstuebner, Jul 31, 2007.

  1. mstuebner

    mstuebner Well-Known Member

    Joined:
    May 13, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    to do some post-creation actions (setting chmod in special dirs) I wrote a postwwwacctuser in /scripts/ but it seems not to be called, because even a test with "touch file" doesn't create a file.

    1. The script is owned by root:root and rwx. Anything else needed?
    2. Second, how can the script output text to the webbrowser while running?

    Maybe question 2 disappears if 1. is solved.

    br Matthias
     
  2. mstuebner

    mstuebner Well-Known Member

    Joined:
    May 13, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Problem was in front of the screen.

    The postwwwacctuser just missed the #!/usr/local/bin/php in its first line.
     
Loading...

Share This Page