Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    94

    Default modifying wwwacct script

    Hi,

    I was wondering if someone could help me out.

    I want to hack the wwwacct script so that when a new account is setup, it would add the username to the "userdir" line.

    For example:

    <IfModule mod_userdir.c>
    Userdir disabled
    Userdir enabled myusername
    </IfModule>

    Then, when a new account is added it will add the new username at the end of the Userdir enabled line like so:

    <IfModule mod_userdir.c>
    Userdir disabled
    Userdir enabled myusername newusername
    </IfModule>

    The reason I do this is because I enable the preview link for only 7 days, then delete the username so clients cannot leech the server bandwidth.

    Would anyone be so kind to paste the code to add to the wwwaccts script to do the above?

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    94

    Default

    anyone?

    Would anyone be willing to do it for $20 USD?

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. script to run after modifying an account
    By bmett in forum cPanel Developers
    Replies: 4
    Last Post: 02-25-2011, 07:26 PM
  2. Modifying Cpanel options/security from a script
    By greg_gti in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-04-2005, 06:46 PM
  3. Modifying cPanel login script?
    By kyfrow in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-04-2005, 04:46 AM
  4. I need help modifying my backup script
    By dianaward in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-21-2004, 07:10 PM
  5. Modifying /scripts/wwwacct
    By nu-steve in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 07-25-2002, 03:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube