Re: /dev/pts/0 in a jail shows no one is observing from outer prison.

2013-07-18 Thread Dag-Erling Smørgrav
"Julian H. Stacey"  writes:
>   A ssh to a jail followed by Who, if it shows just pts/0, shows
>   no one else is logged in { within jail And Also Outer Prison
>   [And presumably also other parallel jails] }.

Not really, it just shows that pts/0 was available.  Like file
descriptors, pseudo-ttys are allocated on a first-unused basis.  There
could be twenty people logged in; if the first logs out, the
twenty-first gets pts/0.

Also, please read the warning at the start of the jail chapter in the
FreeBSD handbook.  I should probably update it to note that there are
many ways in which information can leak between jails and the host.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD

2008-12-11 Thread Dag-Erling Smørgrav
Philipp Wuensche  writes:
> Not entirely true, the jls output is totaly different than before and
> breaks third-party applications like jailaudit and ezjail.
>
> It is uneasy to parse too.

jls | tail +3 | while read line ; do
set $line
if [ $# = 3 ] ; then
echo "jail $1 (name $2 root $3) IPs:"
elif [ $# = 1 ] ; then
echo "$1"
else
echo "huh?"
    fi
done

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Re: HEADS UP: r185435 multi-IPv4/v6/no-IP jails in HEAD

2008-12-05 Thread Dag-Erling Smørgrav
"Brian A. Seklecki" <[EMAIL PROTECTED]> writes:
> alexus <[EMAIL PROTECTED]> writes:
> > as far as I understood HEAD is 8.0-CURRENT
> The trick is to bribe the right people to get it RFP'd into 7.2R. :)

The question is, does it change existing behavior, or just add new
functionality?

If the former, it should not be MFCed.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"