*BSD News Article 69918


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Restricting user
Date: Fri, 31 May 1996 18:53:23 -0700
Organization: Erols Internet Services
Lines: 15
Message-ID: <31AFA293.7DF0@www.play-hookey.com>
References: <4ojqc1$mk@voyager.iii.org.tw>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (Win16; I)

HSIAO Hsuei-cheng wrote:
> 
> Hi folx,
> 
> How do I restricte a user only in his home directory ?

The basic requirement is to changwe the read/write/execute permissions 
below the home directory. You'll have to let all users execute programs 
in directories included in their local path, but you can reset r/w 
permissions so that only the owner (and root, of course) can access each 
directory on the drive. Check the man page on chmod.

Hope this helps,

Ken