Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member Brad's Avatar
    Join Date
    Aug 2001
    Posts
    236

    Default How to Change Package Name

    Seems I've done this in the past but I cannot find anything in the forums here on it.

    Is it possible to change an existing package name that users are currently assigned to without hosing their accounts?

    I have lot's of packages that I'd like to assign to root account only, so they don't show up in the resellers areas.

    Currently all packages show up in the resellers area unless it is created by another reseller, then it does not. So, I figure if I add root_ before the package name, they will not.

  2. #2
    Member
    Join Date
    Dec 2002
    Posts
    32

    Default

    to change package name wouldnt you goto rename package which is under remove package?

  3. #3
    Member bmcpanel's Avatar
    Join Date
    Jun 2002
    Posts
    546

    Default

    You cannot rename the package under &edit&.

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Default

    The title of this post is exacly why I signed up for this site today.

    How can I rename a package from either the whm or cpanel interface?

    I found ways on google, but they are convoluted command-line solutions. The previous post was from 2003, and I'm sure in the last six years cpanel has come up with a simple interface for this basic functionality.

    Can someone tell me where it is?

    Thanks,
    Bw
    Last edited by billwill; 02-14-2009 at 11:50 AM.

  5. #5
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Default

    Thanks for the spam, roger. It's very helpful to the discussion.

    Here's your email address for others wanting to share their gratitude to you as well:

    info@decouvertesmag.com
    Last edited by billwill; 02-14-2009 at 12:48 PM.

  6. #6
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    Quote Originally Posted by Brad View Post
    I have lot's of packages that I'd like to assign to root account only, so they don't show up in the resellers areas.

    Currently all packages show up in the resellers area unless it is created by another reseller, then it does not. So, I figure if I add root_ before the package name, they will not.
    Hi billwill,

    If you are trying to prevent other resellers from using your packages, uncheck them in Reseller Center and they will not show up for them.

    If you are really trying to rename them, then only shell or ftp access can do it as far as I know.

    Ron

  7. #7
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Default

    Hi Ron -

    I don't have any resellers, just a lot of sites.

    Currently, I have different packages setup and different sites associated with each one.

    I keep running into the need to "tweak" a package, and want to just do it once without having to create a new package, then go site by site and associating sites with the new package.

    For example, I had a package with everything laid out - ftp access # of email accounts, bandwidth, sever space etc. My convention is for example, hosting 2-50-500 thinking that would be an easy way to identify it. Two emails, 50 mb space, 500 mb bandwidth. Now, if I want to add three emails, I'd just like to simply rename it 3-50-500 after I add one email account.

    Isn't there a way to do this in WHM or Cpanel without all the extra hoops?
    Last edited by billwill; 02-16-2009 at 10:18 AM.

  8. #8
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    As far as I know there is no way through WHM to rename the packages. The current package could be adjusted as desired, but the name is not changed.

    In shell or FTP this can be easily accomplished by copying the "hosting 2-50-500" package and saving it as "hosting 3-50-500". You would then in WHM access the newly copied "hosting 3-50-500" package and adjust the emails to 3. Then assign the new package to the desired accounts.

    The only other way would be with "ConfigServer Explorer" or a similar file tool added into WHM to access the desired files and copy/rename as needed.

    Sorry that I am unable to come up with anything closer to what you actually desire,
    Ron

  9. #9
    Member
    Join Date
    Dec 2008
    Posts
    81

    Default

    Quote Originally Posted by billwill View Post
    Hi Ron -

    I don't have any resellers, just a lot of sites.

    Currently, I have different packages setup and different sites associated with each one.

    I keep running into the need to "tweak" a package, and want to just do it once without having to create a new package, then go site by site and associating sites with the new package.

    For example, I had a package with everything laid out - ftp access # of email accounts, bandwidth, sever space etc. My convention is for example, hosting 2-50-500 thinking that would be an easy way to identify it. Two emails, 50 mb space, 500 mb bandwidth. Now, if I want to add three emails, I'd just like to simply rename it 3-50-500 after I add one email account.

    Isn't there a way to do this in WHM or Cpanel without all the extra hoops?
    Just shows you know the market well. I hope that's a free account

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Packages are stored on the server in '/var/cpanel/packages' folder, you can simply login via SSH, copy and tweak the package file on the server using vi editor. If you are a sysadmin/host, you need to know how to work on the command line.

    ==
    root@server [/var/cpanel/packages]# cat username_pkg
    FRONTPAGE=y
    CPMOD=x3
    FEATURELIST=default
    BWLIMIT=3000
    IP=n
    CGI=y
    MAXSUB=1
    MAXSQL=1
    MAXFTP=2
    QUOTA=300
    MAXPARK=1
    HASSHELL=n
    MAXADDON=1
    MAXPOP=10
    MAXLST=1
    ==

    rename the package using this command

    cp username_pkg username_pkg2

    then edit the new package file username_pkg2.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  11. #11
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Default

    Thanks everyone.

    Still surprised that this isn't an easy cpanel process, but your suggestions helped.

    I'm not comfortable with the command line, so I ftp'd with ws-ftppro to the directory you provided JPC-Howard, and copied/renamed the package. Then I edited it with Textpad. This worked great.

    What didn't work, and I mention this for someone else's future reference, is I also edited the var/cpanel/users/username file, changing the package name in that file. When I viewed this in cpanel, it seems that the upgrade actually happened, but it still showed up as the old package name in the "list accounts" view. No biggie - I just upgraded the user to the new package I had created.

    I'm not familiar with "ConfigServer Explorer", but I'm going to Google that now.

    Thanks again,
    BW

  12. #12
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Quote Originally Posted by JPC-Howard View Post
    Packages are stored on the server in '/var/cpanel/packages' folder, you can simply login via SSH, copy and tweak the package file on the server using vi editor. If you are a sysadmin/host, you need to know how to work on the command line.

    ==
    root@server [/var/cpanel/packages]# cat username_pkg
    FRONTPAGE=y
    CPMOD=x3
    FEATURELIST=default
    BWLIMIT=3000
    IP=n
    CGI=y
    MAXSUB=1
    MAXSQL=1
    MAXFTP=2
    QUOTA=300
    MAXPARK=1
    HASSHELL=n
    MAXADDON=1
    MAXPOP=10
    MAXLST=1
    ==

    rename the package using this command

    cp username_pkg username_pkg2

    then edit the new package file username_pkg2.
    I used above steps & it is done success but i just wanted to know why the renamed package is not udpate those who used the old one ?

    And one more thing this is not renaming, it makes a copy of the file
    Last edited by crazyaboutlinux; 09-24-2009 at 07:10 AM.

Similar Threads & Tags
Similar threads

  1. Possible to change cPanel package name?
    By Funkadelic in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-19-2010, 10:42 PM
  2. change users package
    By gameroom.com in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-22-2008, 07:44 PM
  3. change package in whm but not change in cpanel
    By sliktek in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-11-2005, 09:40 PM
  4. Replies: 2
    Last Post: 04-30-2003, 05:39 PM
  5. Change accounts to one package
    By brandonk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-24-2002, 01:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube