From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 09:58:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6715916A4C2 for ; Fri, 3 Oct 2003 09:58:42 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E106143FD7 for ; Fri, 3 Oct 2003 09:58:37 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h93Gw0BB056704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2003 17:58:32 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h93Gw0Zu056703; Fri, 3 Oct 2003 17:58:00 +0100 (BST) (envelope-from matthew) Date: Fri, 3 Oct 2003 17:58:00 +0100 From: Matthew Seaman To: Your Name Message-ID: <20031003165800.GA56583@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Your Name , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: chroot and su user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 16:58:42 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 03, 2003 at 11:45:47AM -0400, Your Name wrote: > Can you teach me what is the different between=20 > chroot and su user Even a cursory glance at the chroot(8) and su(1) man pages will answer this. 'chroot' is "change root directory": that is confine a process and all of it's children to a subsection of the disk space. 'su' is "substitute user identity" -- run programs using the identity and credentials of a different user. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/faqYdtESqEQa7a0RAr3EAKCRUREU+4IaZUlO2C32/r0+jTwEKACfcBq2 8BXmuUiPvgjM7vz3YgG2pmo= =9eWA -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--