Results 1 to 11 of 11

Thread: new accounts have SSH disabled by default?

  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    93

    Default new accounts have SSH disabled by default?

    I was surprised to notice that all new accounts have SSH access disabled, though I have checked in WHM settings to have it jailshell by default to all new accounts. So now every time I create a new account, I have to go to "Manage shell access" in WHM and enable it by hand. Bug in cPanel or a "feature"?

    WHM 10.8.0 cPanel 10.8.2-C52

  2. #2
    Member
    Join Date
    Apr 2006
    Posts
    14

    Default

    What you did has nothing to do with the SSH access enabled to accounts. You must enable this on Package level. Make sure that your packages have SSH enabled, in this way when a new account is created it will have SSH. I assume you already have packages , so just go and use the Edit Packages link.

    If you don't have packages, i.e. you are relaying on your billing software to do that, make the changes there. Most of the billing softwares compatible with WHM / cPanel should
    have that option and do not require to have a pre-defined package for every server.

    The thing you did is much more different than this, altough it is a very nice one from security point of view.

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    93

    Default

    Yep, Im using packages and have had the same packages for few years and always had ssh enabled there

  4. #4
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/WHM Access Level

    Root Administrator

    Default

    Did you actually check your package settings ?

    Also if your using billing software to manage your accounts make sure the settings have not changed there

    Also if the accounts are under a reseller check the reseller access rights to make sure something has not changed there

    I have seen cpanel/whm updates change some odd things in the past that it should not have changed so be sure and double check all possible settings
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  5. #5
    Member Danny_T's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    181

    Default

    We have it too. Packages are enabled and still when a new account is created the shell access is disabled.

    It is introduced with the version bump from 10.8.1 to 10.8.2. So i guess a bug.

    Danny.
    Net Tuning (Dutch)
    Official cPGS GameServer Mirror
    *New* Virtual Private Server hosting

  6. #6
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,780

    Default

    Bug or better security? We never automatically give shell access on all accounts. Since most users never use it, it makes more sense to enable only for users who explicitly request it.
    Regards,
    David
    Forum Moderator

  7. #7
    Member
    Join Date
    Aug 2003
    Posts
    93

    Default

    Quote Originally Posted by dave9000
    Did you actually check your package settings ?

    Also if your using billing software to manage your accounts make sure the settings have not changed there

    Also if the accounts are under a reseller check the reseller access rights to make sure something has not changed there

    I have seen cpanel/whm updates change some odd things in the past that it should not have changed so be sure and double check all possible settings
    Yes, I doublechecked the package settings also. Not using billingsoftware with cpanel / neither reseller.

    I think it's a bug because you can choose "enable shell access" in packages but it still disables shell access

    I added this to BugZilla, you can vote here: http://bugzilla.cpanel.net/show_bug.cgi?id=4111

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    8

    Unhappy

    I have the same problem and I can replicate it by manually enabling the SSH on the account, then verify that on the package i have Shell Acces checked on and click edit (save) at last.
    cPanel just reaplies the packages to all accoutns under that package plan and shell gets disabled on all of them!!!

  9. #9
    Registered User
    Join Date
    Feb 2006
    Posts
    1

    Default

    I am having this same problem. I edited my package, which included shell access, and then after that each account had shell access disabled. This is happening on FreeBSD and on WhiteBox. I just recently upgraded them both 10.8.2 and that is when the problem started.

    So, not only is this making it so that all new accounts need to be manually changed to shell access, but if you edit one of your packages at all, even if you don't change your default shell setting from on to off, if you edit one of your packages at all, all of the users who have shell access and have that package will no longer have shell access. And then you have to go redo all the changes of shells that people requested. ARG!

    Are you guys acknowledging this as a problem?

    /l
    Last edited by karlsson; 05-07-2006 at 01:33 PM.

  10. #10
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,780

    Default

    Quote Originally Posted by karlsson

    Are you guys acknowledging this as a problem?

    /l
    Only if someone has submitted a bugzilla report. cPanel staff do not actively monitor the forums. http://bugzilla.cpanel.net
    Regards,
    David
    Forum Moderator

  11. #11
    Member
    Join Date
    Feb 2004
    Posts
    8

    Default

    Quote Originally Posted by dgbaker
    Only if someone has submitted a bugzilla report. cPanel staff do not actively monitor the forums. http://bugzilla.cpanel.net
    Someone recently created a bugzilla report on this. I added a few notes and a link to this forum entry for the devs to see.
    http://bugzilla.cpanel.net/show_bug.cgi?id=4111

    So no extra posts are needed unless the devs ask for it or you could add a patch on bugzilla

Similar Threads

  1. SSH Accessed when SSH is Disabled
    By Arhineus in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-07-2008, 06:31 AM
  2. Default editor in SSH (why different for different accounts)
    By cookiesunshinex in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 09-04-2006, 02:47 AM
  3. ssh disabled by itself
    By Secret Agent in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 12-19-2005, 12:37 AM
  4. Changing the default message for SSH-disabled accounts
    By Valetia in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-07-2005, 04:32 PM
  5. SSH keeps being disabled
    By Ronny in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-13-2003, 05:00 PM