Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 8 of 8

This is a discussion on jailshell or not to shell in the VPS & Dedicated forum
OK, is there any way to track what users are doing when they are in 'jailshell'? I have one client using it and sucking up ...

  1. #1
    Loyal Client
    Join Date
    Sep 2006
    Posts
    143

    jailshell or not to shell

    OK, is there any way to track what users are doing when they are in 'jailshell'?

    I have one client using it and sucking up too many resources and I am curious what they are trying to run

  2. #2
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    You could log in and look at their
    .bash_history
    file.

    Most recent is at the bottom.
    Good luck

  3. #3
    Loyal Client
    Join Date
    Sep 2006
    Posts
    143
    Thanks, that was it... but for my own sanity, everything looks OK

    But the bummer, no time/date stamps. My firewall reports excessive CPU usage, but nothing in the log appears to be doing anything more than I can/would do as a user


  4. #4
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Doubt it provides a truly reliable log anyway. I occasionally delete that file as part of general housekeeping. As I can do that, I assume any user can freely manipulate his / her own .bash_history.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  5. #5
    Loyal Client
    Join Date
    Sep 2006
    Posts
    143
    The file is actually a good start and is letting me know whats going on, as the user does not appear to be hiding anything... better than nothing at all

  6. #6
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Quote Originally Posted by Gwaihir
    ...I occasionally delete that file [bash_history] as part of general housekeeping...
    How often do you do this?

  7. #7
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Not often. Perhaps once a year or so.

    I just wanted to point out that one can do that, i.e. that the file can be helpful, but isn't in any way secured.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  8. #8
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Gwaihir View Post
    Not often. Perhaps once a year or so...
    Can't say I've ever actually deleted it, but I DO edit it from time-to-time (once a year or so) to get rid of the cruft...

    It's sort of an archive of my brilliance!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •