Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2001

    Question how to restrict shell to specific dir?

    I have a server that share to 10 accts A at /home/a , B at /home/b , C at /home/c ... all of them having shell access to the server (with their user/pass). The problem is, when connect to server , A can get the scripts from B,C dir by cd ../b , or cd ../c

    so how can I restrict that, so only A gets permission on his /home/a only ??? and when he tries to "cd ../b" he will get something like " you don't have permission".

  2. #2
    Login on root

    cd /
    chmod 711 home
    cd /home
    chmod 711 *
    Like us on Facebook to qualify for discounts!
    Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
    Services: | Managed Multiple Cores 64bit Servers | Server Management |

  3. #3
    Join Date
    Jul 2001
    thank you.

Posting Permissions

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