From owner-freebsd-security Wed May 8 20:34:42 2002 Delivered-To: freebsd-security@freebsd.org Received: from slc.edu (weir-01c.slc.edu [207.106.89.46]) by hub.freebsd.org (Postfix) with ESMTP id C34C937B400 for ; Wed, 8 May 2002 20:34:36 -0700 (PDT) Received: (from anthony@localhost) by slc.edu (8.11.6/8.11.6) id g493arW65688; Wed, 8 May 2002 23:36:53 -0400 (EDT) (envelope-from anthony) Date: Wed, 8 May 2002 23:36:53 -0400 From: Anthony Schneider To: "Dalin S. Owen" Cc: security@FreeBSD.ORG Subject: Re: Accounts with Restricted privileges Message-ID: <20020508233653.A65507@mail.slc.edu> References: <200205081443.51457.dowen@pstis.com> <20020508171717.A37592@mail.slc.edu> <200205081608.21273.dowen@pstis.com> <20020508232507.B48952@mail.slc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020508232507.B48952@mail.slc.edu>; from aschneid@mail.slc.edu on Wed, May 08, 2002 at 11:25:07PM -0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --cmJC7u66zC7hs+87 Content-Type: multipart/mixed; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline wow, that patch was backwards. OOPS! -Anthony. ----------------------------------------------- PGP key at: http://www.keyserver.net/ http://www.anthonydotcom.com/gpgkey/key.txt Home: http://www.anthonydotcom.com ----------------------------------------------- --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="restr_cd.path" Content-Transfer-Encoding: quoted-printable --- builtin.c.orig Wed May 8 23:29:29 2002 +++ builtin.c Wed May 8 23:22:27 2002 @@ -685,10 +685,14 @@ LinkNode dir; struct stat st1, st2; =20 + /* -- added 5.08.02, Anthony Schneider; allow cd in restricted mode + so rzsh may run slightly less restricted in a chroot()'ed + environment. if (isset(RESTRICTED)) { zwarnnam(nam, "restricted", NULL, 0); return 1; } + */ doprintdir =3D (doprintdir =3D=3D -1); =20 for (; *argv && **argv =3D=3D '-'; argv++) { --HlL+5n6rz5pIUxbD-- --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzZ7tUACgkQ+rDjkNht5F2Z4wCbB6fYumfOToUzo3pd4eu4mHLd tVgAnAtqCOVW+trzFOu9aNCJ34RD7cjB =6gHY -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message