DBM

Member
Jan 18, 2013
14
0
51
cPanel Access Level
Root Administrator
Hi,

I have a Reseller Account with Full Root Access and every option there is in the Reseller Privileges section checked but the account does not have permission to edit the sshd_config file. I am trying to edit the file in order to change PermitRootLogin no to PermitRootLogin yes.

Why does the Reseller Account with Full Access not have the permission to edit the sshd_config file?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

The option you are referring to is documented at:

Edit Reseller Nameservers and Privileges

This allows you to grant root access to WHM to a reseller. However, granting root access to SSH requires additional steps. The following thread explains how to setup root access for SSH for an additional user:

SSH Hardening Guide

Thank you.
 

DBM

Member
Jan 18, 2013
14
0
51
cPanel Access Level
Root Administrator
I might not have been clear in my earlier post ...

I can login into WHM without any issues. My sshd_config file has been set to PermitRootLogin no.

I have a reseller account that has all of the options as root does except when I go to change the sshd_config to PermitRootLogin yes via the reseller account ... it states that the resller account does not have permission to edit file.

Every permission is granted or checked for the reseller permissions ... everything should be the same as the root.

I suppose my question why is the WHM not giving the reseller account the permission to edit the file as it should?


Hello,

The option you are referring to is documented at:

Edit Reseller Nameservers and Privileges

This allows you to grant root access to WHM to a reseller. However, granting root access to SSH requires additional steps. The following thread explains how to setup root access for SSH for an additional user:

SSH Hardening Guide

Thank you.
 

DBM

Member
Jan 18, 2013
14
0
51
cPanel Access Level
Root Administrator
Thank you for that information.

I cannot login with root access with SSH or FTP. Is there a way to access and edit the sshd_config that has the setting PermitRootLogin no?


A Reseller without full root access, wouldn't have access to that file. Full Reseller access in WHM isn't the same as root user on linux.