Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    13

    Default Prevent cd ..

    For a domain owner logging in via ssh (or putty for those looking through windoze), how can I prevent him from cd'ing upward?

    That is, when he logs in, he's placed in /home/jimbo and I want to prevent him from doing a cd .. or cd /home (much less cd /usr/bin). I've been trying various combinations - I can prevent him from SEEing the directories and the files in them, but I haven't figured out how to keep him from getting into them... any ideas?
    Typo-free for 5462 daze

  2. #2
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default

    JailShell.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    13

    Default

    Originally posted by tAzMaNiAc
    JailShell.
    Thanks!

    So... I set that domain to jailshell instead of bash. Some directories no longer show up, but others are still there. Using mc lets him navigate around. Is there a config file for it? I've been looking but haven't come up with the docs yet - any links you might have will be appreciated.
    Typo-free for 5462 daze

Similar Threads & Tags
Similar threads

  1. Prevent others to use my dns
    By ASTRAPI in forum New User Questions
    Replies: 2
    Last Post: 01-23-2010, 03:33 PM
  2. How can i prevent backup
    By adv-server in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-23-2006, 09:50 PM
  3. How to use the Prevent the user 'nobody'
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-24-2004, 04:04 PM
  4. ddos attack, how to prevent?
    By Tagor in forum cPanel and WHM Discussions
    Replies: 26
    Last Post: 05-13-2004, 11:39 AM
  5. How to prevent others using nobody@server.com
    By hugo24 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 05-12-2003, 02:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube