Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Dalin S. Owen (dowenpstis.com)
Date: Wed May 08 2002 - 17:08:21 CDT
On May 8, 2002 03:17 pm, you wrote:
Nope. rbash disables "cd", remember? :) I need to be able to browse
> if you don't have any luck finding a shell with chrootability, you could
> easily write a simple setuid wrapper to chroot() and then execute rbash,
> where rbash is located within the chrooted file hierarchy.
> On Wed, May 08, 2002 at 02:43:51PM -0600, Dalin S. Owen wrote:
> > On May 8, 2002 10:31 am, Justin King wrote:
> > Actually.. I am looking for the almost same answer... what about a
> > chroot-ed shell? ie. they can "cd" forwards but not back beyond my
> > designated "/"... and I quote (from bash's manpage):
> > "When a command that is found to be a shell script is exe-
> > cuted (see COMMAND EXECUTION above), rbash turns off any
> > restrictions in the shell spawned to execute the script."
> > I don't want that. I want all other processes to be chrooted too. By
> > now some of you are thinking "jail"... A jail won't cut it, because you
> > can't use quotas in a jail.
> > Does anyone know to do this with bash, or any other shell? I recall
> > someone talking about a shell that could do all of the above.
> > Thanks!:)
> > FreeBSD Rox, BTW!
To Unsubscribe: send mail to majordomoFreeBSD.org
with "unsubscribe freebsd-security" in the body of the message