Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 23:36:53 -0400
From:      Anthony Schneider <aschneid@mail.slc.edu>
To:        "Dalin S. Owen" <dowen@pstis.com>
Cc:        security@FreeBSD.ORG
Subject:   Re: Accounts with Restricted privileges
Message-ID:  <20020508233653.A65507@mail.slc.edu>
In-Reply-To: <20020508232507.B48952@mail.slc.edu>; from aschneid@mail.slc.edu on Wed, May 08, 2002 at 11:25:07PM -0400
References:  <200205081443.51457.dowen@pstis.com> <20020508171717.A37592@mail.slc.edu> <200205081608.21273.dowen@pstis.com> <20020508232507.B48952@mail.slc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020508233653.A65507>