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.

Package rename

Discussion in 'General Discussion' started by Ley, May 4, 2004.

  1. Ley

    Ley Well-Known Member

    Joined:
    Jan 4, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Is there any way to remake packages...?

    you can edit what they include but their name is not editable...is this possible?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, it is easy to rename a package:

    To rename a package, login to root shell:
    cd /var/cpanel/packages
    mv pkgX pkgY

    To rename packages for users (remember this just renames the package the user is using, it does not change any of their settings/quotas):
    cd /var/cpanel/users
    replace "PLAN=pkgX" "PLAN=pkgY" -- *
     
  3. Ley

    Ley Well-Known Member

    Joined:
    Jan 4, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    But how do i change the package to 1 that can only be seen by a user ...i cant do <username> since rename doesnt accpet < > tags
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'm afraid that I don't understand the question that you're asking :confused:
     
  5. Ley

    Ley Well-Known Member

    Joined:
    Jan 4, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    ok i try explain...


    when i created packages i forgot to add usertags <> so they can only be seen by resellers who made the packages.

    if i forgot this, can i still rename a package so it has username tags <> like it says in whm ?
     
  6. ThaMATRiX

    ThaMATRiX Well-Known Member

    Joined:
    Feb 1, 2004
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago
    in whm when it says <username>_packagename
    it means insert the username there, so if the reseller's username was reseller1
    then the package name would be
    reseller1_packagename

    understand?
     
Loading...

Share This Page