Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Password required folder?

    So me and my wife have folders that we don't want our son to have access to, is there a way to put where you have a password to access the folder?

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Tucson AZ
    You can use the method explained in this link which will accomplish what you want in the end:

    How to password protect a folder on Linux? - Ubuntu Forums

    Or you could create a directory as root and place the directories you don't want you son to have access to then change permissions to: chmod 700 for all directories. Need to have yourself and wife as member of group root.

  3. #3
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Actually, you should create another group, say, parents, and use it instead of root group. Using root account or root group is just bad practice and unnecessary security risk.

  4. $spacer_open
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Make you and your wife members of the same group (such as "Parents"), and son a member of group "Kids". Then, disallow access to "Others". IE: chmod o-rwx foldername
    That will block his access to that folder. No password required. Just don't let him figure out what you or your wife's login passwords happen to be...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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