LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Jim Toth <[log in to unmask]>
Tue, 21 Aug 2001 22:33:13 -0400
text/plain (33 lines)
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

ATOM RSS1 RSS2