On Tue, December 11, 2007 12:12 am, x x said:
>
> <br>How do I block access to my /home/username directory so others who
> log in to server can't see what's in my folder and they can block or lock
> out people from their /home/otherusers directories if they want? I have
> root, so I can setup whatever I need to

Well, there are probably a fair number of different ways, depending on
what else you want them to be able to do or not do, but the simplest and
most direct would be to change the permissions on the folders.

Here's some articles that appear to have good general info on Unix
permissions:
http://www.perlfect.com/articles/chmod.shtml
http://www.dartmouth.edu/~rc/help/faq/permissions.html

The short form of what you are asking is that only the owner of each of
those home folders should have read or write permissions.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to