Find the answer to your Linux question:
Results 1 to 3 of 3
what is the command line used in bash that will make it so when someone logs into my open ssh server, that they cant see other users folders. i am ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    3

    bash folder perms



    what is the command line used in bash that will make it so when someone logs into my open ssh server, that they cant see other users folders. i am wanting to prevent users from just navigating around through others files
    thanks!

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    You may be thinking of chroot. If you're giving the users shell accounts, using chroot is easier said than done -- it requires some work to set up. It's also not highly secure. Exploits seem to be found, plugged, and found again over time with chrooted shells.

    Alternatively, simply use strict permissions on users' home directories. (Better yet, don't give your users shell accounts.)

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    3
    thanks anomie

Posting Permissions

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