Find the answer to your Linux question:
Results 1 to 6 of 6
Hi ya all, I have the following problem. Standard every user made by the root can get in all the folders. even /etc , etc. I donīt want that. I ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193

    Folder Security and permissions



    Hi ya all,

    I have the following problem. Standard every user made by the root can get in all the folders. even /etc , etc. I donīt want that. I want to lockout all the users of my folders. So no users can get in the folders where he hasnīt permissions to enter, write, or read.

    What can I do to make it happen!
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Mystic_Slayer,

    One potential problem I see with this is the user almost certainly will be running apps that look at config files in /etc. If you remove their read permissions to that entire directory they will be seeing all kinds of errors.

    Is there a particular app you're worried about? Or just want to lock them down in general? You might look into placing them in a chroot jail or something similar.

  3. #3
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    I want them locked out of everything. No app may run under there user account. The only thing they may is to upload a part of website to their home directory.
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  4. #4
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    You may want to just not allow them to log into a shell. They can still use SFTP to upload stuff.

  5. #5
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    Yeah i know but it is still allowed to make a page in the shell.
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  6. #6
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    No app may run under there user account.
    and
    Yeah i know but it is still allowed to make a page in the shell.
    are contradictory requirements. They can't make a page in the shell if they can't run any apps (e.g. vi, ls, echo, etc.).

    You will need to decide which requirement is more important.

Posting Permissions

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