|
Mime-Version: |
1.0 |
Sender: |
|
Subject: |
|
From: |
|
Date: |
Tue, 21 Aug 2001 22:33:13 -0400 |
In-Reply-To: |
|
Content-Type: |
text/plain; charset=us-ascii |
Reply-To: |
|
On Tue, Aug 21, 2001 at 04:48:04PM -0700, Tam Nguyen
([log in to unmask]) said:
[...]
> Yes, listserv works in chroot environment. Thanks to Valdis for your
> encouraging words "implementable in theory".
>
> The one problem I ran into was when I went into chroot and tried to start
> listserv:
>
> host# chroot /chroot-dir /bin/sh
> # go
>
> In "go" script, it tried to "su listserv -c ./go" (as I was running as root in
> chroot), that's when it failed because it could not su to listserv.
Couldn't you put in a stub /etc/passwd in your chrooted environment
that includes the listserv user?
> The work around it is to use "chrootuid":
> host# chrootuid /chroot-dir listserv /bin/sh
> $ go
>
> And of course, you have to set up your chroot environment correctly.
Of course, if it works, and it ain't broke...
--
Jim Toth
[log in to unmask]
"Since the advent of the ILOVEYOU worm, I will never again trust
e-mail sent in a Manila envelope." -- John Coughlin
|
|
|