[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dev for terminal
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: dev for terminal
- From: Kirill Miazine <km_(_at_)_krot_(_dot_)_org>
- Date: Fri, 18 Oct 2002 10:46:47 +0200
* Henning Brauer [2002-10-18 08:26]:
> > I've set up a chroot jail for running Exim and Apache (first on 3.1 then
> > moved it over to 3.2-snapshot machine).
>
> you realize that apache runs chroot()ed on 3.2?
Yes :) I realize that.
> > I put vi into the chroot area,
> > but every time I try editing a file it sais "not a termnial" (I enter
> > the chrooted area with ssh). Do I need a special device in /dev
> > (chrooted)? I ran /dev/MAKEDEV pty.
>
> you need termcap and a lot of other shit. why the heck do you wanna run an
Thank you. I'll drop the idea then.
> editor inside the chroot jail? just edit from the outside.
This is what I do now and what I'm going to continue to do.
> > I tried looking at Henning's fugu-chroot scripts, but found nothing
> > there.
>
> no, the chroots are created for server processes, not for shell users.
Ok. I have daemons running in the chroot, the only "shell" user that
is able to enter the chroot is root.
OT: just came from a dentist - no holes (local or remote) in 4 years :)
--
Kirill
Visit your host, monkey.org