Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default Modify all users on certain plan at 1 time

    Hi!

    I was wondering if there there was a way to modify all the users on a certainl plan (say the plan is called the Super Plan) when the Super Plan is updated?

    Actually, what I mean is, suppose the Super Plan originally had 5Gb bandwidth, and you decided to change that to 6Gb.

    If you change the Super Plan in "Edit Packages", then it only affects new packages, not all the accounts already created on the "Super Plan".

    The only way I've seen to modify all those accounts is to modify them one-by-one, but surely there is a mass or bulk way of "updating" all the existing plans to the new limits?

  2. #2
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default

    I just thought of a hack way...

    perhaps using a mass search/replace on the files in:
    /var/cpanel/users

    would work? For example, mass saerch for "BWLIMIT=50000" and replace with "BWLIMIT=6000". Would that work, or does Cpanel store the user limits somewhere else like in a database as well?

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That would be the easiest way. It is where the account details are stored.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #4
    Member
    Join Date
    Oct 2004
    Posts
    124

    Default

    Quote Originally Posted by johnchan

    If you change the Super Plan in "Edit Packages", then it only affects new packages, not all the accounts already created on the "Super Plan".
    Edit package should affect all existing plans...has been working that way for me.
    cPanel 10.8.1-R30 on RHEL.

  5. #5
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    Quote Originally Posted by neonix
    Edit package should affect all existing plans...has been working that way for me.
    cPanel 10.8.1-R30 on RHEL.
    Me too... unfortunately though it will also reset any custom values I have done on a plan by plan basis, back to the package defaults, so one needs to be careful.

  6. #6
    Member
    Join Date
    Apr 2003
    Posts
    28

    Default

    I have this issue on and off forever.

    I want to ask to try to trouble shoot:

    What browser / build are you using / broswer OS

    IE : Firefox 1.2 / 10.8.1 / Macintosh PPC

    I wondering if this is browser based?

    Thanks

Similar Threads & Tags
Similar threads

  1. can I modify shell access for users
    By ns1 in forum New User Questions
    Replies: 11
    Last Post: 12-09-2008, 04:34 PM
  2. modify package doesn't seem to run through users and modify!!
    By rpmws in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-01-2005, 02:19 PM
  3. Modify /var/cpanel/users/username
    By Steve-PWH in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-05-2004, 12:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube