Find the answer to your Linux question:
Results 1 to 3 of 3
Hi.. looking around for help on making some virtual users which have access only to their home directories, which have their separate permissions. But .. hmm, I can't find a ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2

    proftpd help!

    Hi.. looking around for help on making some virtual users which have access only to their home directories, which have their separate permissions. But .. hmm, I can't find a guide or explanation that provides the right information!

    I assume, from what I've seen, that all users are made in the config file? Seems strange..

    Thanks for considering

  2. #2
    Content Team _madman_'s Avatar
    Join Date
    Jun 2006
    Posts
    53
    From what I understand: Programs run as (and with the permissions of) the user that invokes them. Therefore if a user was confined to their home directory, any programs that might be run would also have to be; maybe through some creative linking? My guess is that you will probably need a special program (daemon) to mimic that. How can a user actually do anything otherwise?

    There are also a lot of fancy things you can do with permissions on directories. If a directory is altered with the command:

    Code:
    chmod a-r <dir>
    then its contents can't be listed, but can be accessed. This might have adverse effects on programs that need to list directories for whatever reasons.

    I'm just throwing out some random ideas. I've pondered similar restrictions before; never really acted on them though.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2

    !

    Thanks madman
    A solution may lie in chmod.. thanks for sharing the information.
    I was hoping for virtual user info. Strange it's not easy to find!
    Rob

Posting Permissions

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