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.

Generating Remote access key for resellers that do not have a remoe access key setup

Discussion in 'cPanel Developers' started by shazde, May 19, 2014.

  1. shazde

    shazde Registered

    Joined:
    May 19, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I am trying to setup remote access keys for reseller that do not have the remote access key setup.
    In order to do that I am running this command:

    Code:
    # su -s /bin/bash -c '/usr/local/cpanel/whostmgr/bin/whostmgr setrhash' username
    unfortunately /usr/local/cpanel/whostmgr/bin/whostmgr is only accessible and readable by root.
    Is there any other way to generate the key through scripts or api call as a root user?

    Thanks in advance..
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page