Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    863

    Default Bug in "Modify An Account" Username change messed up reseller account

    There is a new option in "Modify An Account" where you may now change a users username to something else. This option really messed up our resellers account. This option may work if the user is not a reseller but dont use it if your going to modify a reseller.

    We had a user who wanted to change his username because he didnt like the prefix in front of his package names showing up as andreen_package1. He wanted it to show as unisol_package1. For that to happen we needed to change his reseller accounts username. Upon changing the username all the accounts under his reseller account dissappeared and those accounts setup by the reseller we on the box but were not attached to his account anymore. He then tried to recreate the same sites but WHM was telling him they already existed. So I went into WHM and deleted the lingering accounts no longer attached to his account, so he could recreate them under his reseller account. Well, big mistake! Instead, WHM deleted his master reseller account as well.

    We had to recreate his reseller account again. Now, not only were all his unlinked accounts deleted but his reseller account was also deleted.

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    117

    Default

    Curious, but why didn't you just change ownership of his accounts to his new username?

    WHM should have taken those lingering accounts and moved them to root, allowing you to move them to the new username.

    It does sound like a bug, but a bug you didn't have to run into (It's a temporary solution).

    Have you submitted the bug?
    Keegan
    "Eats Fruit Too"

  3. #3
    Member
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    23

    Default

    go to /var/cpanel/change the username using mv

    After check in whm

    Let's see what happens, create a test account and do it


    Chris
    Firewall security Agent
    Matrix Solutions
    Coimbatore
    Thank you

    Chris ben

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    66

    Default

    There is a file in /var/cpanel that is username.accts - this holds the reseller domain info. You'd need to move this account file after changing the username... too bad you didn't post for help here before taking such drastic measures.

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    863

    Thumbs up

    Howcome this msg is pinned? I didnt know i had pinned abilities!!

  6. #6
    Member
    Join Date
    Feb 2003
    Posts
    26

    Default

    Anyone know which file to edit to remove the ability to change the user name or domain from the Modify account form?

    I don't mean remove the modify account from WHM options, just removing certai spects of it, changing user name and domain name is problematic.

  7. #7
    Registered User
    Join Date
    Apr 2003
    Posts
    1

    Default

    My ? follows Admin356, in that I'm a newbie to this cPanel, and on the first account I added the domain name without the www. So how can I change it to include the www? Or do I have to delete, setup new account and re-publish. The site can't be found without the www on the web. Thanks in advance.

  8. #8
    Member marius's Avatar
    Join Date
    Jun 2002
    Location
    Bucharest
    Posts
    158

    Default

    Originally posted by bjohns
    My ? follows Admin356, in that I'm a newbie to this cPanel, and on the first account I added the domain name without the www. So how can I change it to include the www? Or do I have to delete, setup new account and re-publish. The site can't be found without the www on the web. Thanks in advance.
    The site will be found with or without www
    Check under the DNS Functions / Edit a DNS Zone. You'll see what I'm talking about.
    Marius

  9. #9
    Member
    Join Date
    May 2002
    Posts
    292

    Default

    This really does need an option to not allow changing of user names on certain accounts. I give ownership of a reseller account to the reseller so they can adjust their space and features at will. But then they go and change their own user name and now they no longer have a reseller account since it was granted ownership under the old user name plus they have lost ownership of all their accounts under them and all their packages.

    So I have to then go back set them up again as a reseller, change ownership back to their new reseller account, plus change ownership of all their accounts plus, I am left with all their packages as orphans on the server and they have to go and create new packages and set all their accounts on them.
    2 tickets last week and one today where I have had to do this.

    Need someway to keep a reseller from being able to change their own user name.
    Last edited by techark; 04-15-2003 at 01:38 PM.

  10. #10
    Member SageBrian's Avatar
    Join Date
    Jun 2002
    Location
    NY/CT (US)
    Posts
    386

    Default

    Originally posted by techark
    Need someway to keep a reseller from being able to change their own user name.
    Lobotomy?

  11. #11
    Member
    Join Date
    Feb 2003
    Posts
    26

    Default

    This really does need an option to not allow changing of user names on certain accounts.
    I think having the option for being able to disable user name / domain name changes if desired is a must.

  12. #12
    Member
    Join Date
    Oct 2002
    Posts
    94

    Default

    Originally posted by techark
    This really does need an option to not allow changing of user names on certain accounts. I give ownership of a reseller account to the reseller so they can adjust their space and features at will. But then they go and change their own user name and now they no longer have a reseller account since it was granted ownership under the old user name plus they have lost ownership of all their accounts under them and all their packages.

    So I have to then go back set them up again as a reseller, change ownership back to their new reseller account, plus change ownership of all their accounts plus, I am left with all their packages as orphans on the server and they have to go and create new packages and set all their accounts on them.
    2 tickets last week and one today where I have had to do this.

    Need someway to keep a reseller from being able to change their own user name.
    The way I create resellers accounts, and most others here, is to setup the resellers using a dummy domain (ie: theseareformyresellers.com), then assign that account to a modified theme where they can only change their passwords (since for some reason, is not an option in the reseller WHM).

    Doing it this way is a bit more, but a lot less hassles down the road. All they would have to do is setup an account for their domain that they signed up for with you.

  13. #13
    Member
    Join Date
    May 2002
    Posts
    292

    Default

    Ive done it both ways and found draw backs to the other way.
    Much easier to keep track of this way and they have more control over their account.

    No problems up until the change user name was allowed.

  14. #14
    Member
    Join Date
    Dec 2002
    Posts
    9

    Default

    I also had an interesting thing happen. Regular account, changed username, everything was okay until I went in to do some database work via phpMyAdmin and much to my surprise it said I had no databases. So, I changed the username back to what it was and walla, there's my databases. Also showed "0/unlimited" in the CPanel screen, so must just be a missing update to some file or table in the update script.
    when all is lost, look again

  15. #15
    Member
    Join Date
    May 2003
    Location
    sillycone valley
    Posts
    49

    Default

    Originally posted by techark
    Need someway to keep a reseller from being able to change their own user name.
    Originally posted by SageBrian
    Lobotomy?
    Nope tried the labotomy but it didn't help and caused a headache.

    cPanel.net Support Ticket Number:
    because the mind is a terible thing...

Similar Threads & Tags
Similar threads

  1. Dumb "Modify an Account" question
    By JSBurlison in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-23-2010, 06:42 PM
  2. Created User dont show up in "MODIFY AN ACCOUNT" list :(
    By rdpcom in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-27-2008, 06:40 AM
  3. Hide the permanent "username" email account. It is useless and misleading!
    By electric in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-21-2005, 05:19 PM
  4. "Modify Account" Problem - Changing domain
    By nsr81 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-04-2003, 03:44 AM
  5. Can't delete old subdomains after use "Modify An Account"
    By Doctor in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-08-2003, 03:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube