Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 16:55:39 +0400 (MSD)
From:      Alexey Zakirov <frank@agava.com>
Cc:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: jail(8)
Message-ID:  <Pine.BSF.4.32.0110111651300.70855-100000@hellbell.domain>
In-Reply-To: <1544247985.20011011133649@void.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Oct 2001 void@void.ru wrote:

> After setting up a virtual enviroment using JAIL(8) I've encountered
> the following problem: setuid/setgid bit became no more effective. So,
> this screwed up apache's suexec, passwd(1) and several other apps
> whose setuidness is nessesary for their normal operation flow.

Probably you've done something wrong because I use jail intensive and
sugid works just fine:

frank@evidence:~/tmp$ ls -l
total 8
-r-sr-xr-x  1 root  wheel  6692 Oct 11 16:52 id
frank@evidence:~/tmp$ id
uid=1038(frank) gid=32(users) groups=32(users), 0(wheel)
frank@in-evidence:~/tmp$ ./id
uid=1038(frank) euid=0(root) gid=32(users) groups=32(users), 0(wheel)
frank@in-evidence:~/tmp$ ps -p $$
  PID  TT  STAT      TIME COMMAND
35765  p3  SsJ    0:00.06 /usr/local/bin/bash

*** WBR, Alexey Zakirov (frank@agava.com)


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?Pine.BSF.4.32.0110111651300.70855-100000>