Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    PDM
    PDM is offline
    Member
    Join Date
    Jan 2004
    Location
    Angel Fire, NM
    Posts
    43

    Default does jailshell affect server root permissions ?

    Would enabling jailshell in cPanel System tweaks prevent the server root user write perms to his .bashrc file ?

    When I ssh to my new cpanel server su - and edit .bashrc I get permision denied.

    root can't chmod .bashrc or cp to .bashrc

    ???

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You need to use a full shell account to be able to su to root, not a jailshell.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    PDM
    PDM is offline
    Member
    Join Date
    Jan 2004
    Location
    Angel Fire, NM
    Posts
    43

    Default

    I'm trying to to figure out why when I ssh to the server as server admin then su - to become server root I can't chmod, edit or write to my root .bashrc file.

    I'm setting up a new cPanel server and always, with other RHEL servers, edited my .bashrc to email me logins as a rudementary security flag.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check whether you have any attributes on the file:

    lsattr .bashrc
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    PDM
    PDM is offline
    Member
    Join Date
    Jan 2004
    Location
    Angel Fire, NM
    Posts
    43

    Default

    Thanks that was the problem.

Similar Threads & Tags
Similar threads

  1. API2 call 'park' with root permissions
    By bmett in forum cPanel Developers
    Replies: 8
    Last Post: 10-20-2010, 11:38 PM
  2. jailshell root folder
    By iain2_uk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-28-2008, 11:35 AM
  3. Help with root permissions.
    By Pulsar132 in forum New User Questions
    Replies: 3
    Last Post: 05-06-2006, 05:28 PM
  4. Replies: 10
    Last Post: 04-22-2004, 07:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube