Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 19:50:45 -0500 (CDT)
From:      Alex Charalabidis <alex@wnm.net>
To:        "Raymundo M. Vega" <RaymundoVega@home.com>
Cc:        David Vondrasek <david@davidv.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Lock a user in home
Message-ID:  <Pine.BSF.4.21.0006231947020.1729-100000@earth.wnm.net>
In-Reply-To: <395400CF.7F620A71@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Jun 2000, Raymundo M. Vega wrote:

> David Vondrasek wrote:
> > 
> > Anyone know how to set a users ~/ as / to them so they can't get out of home ?
> > I have a few users I don't want to be able to *roam* the drive looking at
> > stuff like websites I host they have no reason to be looking though the
> > drive at other users stuff..
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> use the permissions mask, for instance if you do not want user user1
> to see inside user2 home directory and viceversa type as root:
> 
> cd /home
> chmod 700 *
> 
> and better yet set the umask to 077, this way only the owner of a
> file can use it.
> 
Erm, have you ever tried to run a web site chmod'ed to 700? 711 is the
least required unless you want to run your httpd as root.

-ac

-- 
==============================================================
Alex Charalabidis (AC8139)            5050 Poplar Ave, Ste 170
Systems Administrator                        Memphis, TN 38157
WebNet Memphis                                  (901) 432 6000
Author, The Book of IRC              http://www.bookofirc.com/
==============================================================




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006231947020.1729-100000>