From owner-freebsd-questions Fri Jun 23 17:29:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id E461937B715 for ; Fri, 23 Jun 2000 17:29:09 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000624002904.NJYT18858.mail.rdc1.sdca.home.com@home.com>; Fri, 23 Jun 2000 17:29:04 -0700 Message-ID: <395400CF.7F620A71@home.com> Date: Fri, 23 Jun 2000 17:29:03 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Vondrasek Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Lock a user in home References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. cheers, raymundo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message