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.

jailshell miscellaneous - broken?

Discussion in 'General Discussion' started by Saeven, Nov 21, 2004.

  1. Saeven

    Saeven Active Member

    Joined:
    Jun 23, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa
    cPanel Access Level:
    Reseller Owner
    Twitter:
    Hello,

    Running WHM WHM 9.9.8 cPanel 9.9.8-C115.

    I need to grant use on the 'at' command to a jailshelled user. at.allow is set, but the jailshell is preventing use of the at command.

    On top of this, during exploration, I see that the jailshelled users can still navigate around the directory structure! Which is puzzling.

    Two questions:

    1) How do I fix this CPanel jailshell so that it roots the user in his/her directory

    2) How do I grant extra commands to the jailshelled environment?

    I am an old monkey, and can do these things easily on an unmanaged machine. I am afraid however to break this only CPanel server I have, which is a production machine. Experience appreciated.

    Regards.
    Alex
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I haven't played with the jailshell that much, but your first step would be to have a look in:

    /home/virtfs/username

    That's the structure of the jailed shell environment. You'll find that it is that which the user is jailed into, not the "real" OS.

    Is there any particular reason that the user needs to use AT as opposed to CRONTAB?
     
Loading...

Share This Page