From owner-freebsd-stable@FreeBSD.ORG Thu Aug 15 17:24:29 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 20989F71 for ; Thu, 15 Aug 2013 17:24:29 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [5.135.177.31]) by mx1.freebsd.org (Postfix) with ESMTP id DDFCE2DBE for ; Thu, 15 Aug 2013 17:24:28 +0000 (UTC) Received: from [192.168.0.128] (4ab54-4-88-163-248-31.fbx.proxad.net [88.163.248.31]) by peterschmitt.fr (Postfix) with ESMTPSA id 4F1FB6923 for ; Thu, 15 Aug 2013 19:24:16 +0200 (CEST) Message-ID: <520D0EBE.401@peterschmitt.fr> Date: Thu, 15 Aug 2013 19:24:14 +0200 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Behavior of jexec X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7GP83iWnoApinnVh7TVpB5IiBkAEwbwVf" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 17:24:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7GP83iWnoApinnVh7TVpB5IiBkAEwbwVf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I noticed two things when running jexec. I run FreeBSD 9.2-RC1 from binaries and jails 9.2-RC1 too. I log as root on the host (I havn't any other user). # 1. $HOME For a jail named "blog" with a "blog" user, which $HOME is at /home/blog, if I do: jexec -U blog blog tcsh My id is correct, but $HOME is still root. # 2. Accessing a jail in ssh command line I'm on my "client" machine and want to get on the "server" machine, where jails are, and I want to do a jexec from ssh command line: ssh katana jexec -U blog blog tcsh I get a connection (trusting /var/log/auth) but it hangs on and do nothing. Event with a simple "ls" as jail command. Thanks. --=20 Florent Peterschmitt | Please: florent@peterschmitt.fr | * Avoid HTML/RTF in E-mail. +33 (0)6 64 33 97 92 | * Send PDF for documents. http://florent.peterschmitt.fr | Thank you :) --7GP83iWnoApinnVh7TVpB5IiBkAEwbwVf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSDQ6+AAoJEFr01BkajbiBQGUP/1FdTQ1AXtWuuyWxj/Hi1d7j jHrP6D9JLF2Xfp7lKrwsKJ122/mqHR3/gNXD1008P+uJXVRRvm/WSkTVrihUzcwg yxIZB28fCz1z18Pn0Xi6F3KN5HSDtUsHdB6VZI0rAAFvP2vJU3O5ddvZT/MGiZt8 iTZFQ5u6l8zKO0wRHvIEZ5pOAlNOY3GLi9cjOCBVI7Wr2C53NDcZzEZ5s/ZUk/Pk 5OGOwVWAAi+g5wUMvkabCnlhuv/J4spAW5d+W0BlpgsS2ZwN0XfCWLfomxj99JlD NtOSZqJr27gD1ftcbL29ieIJFDmflASlt8oqyPEQUbwXVt7F8jxFA4kL4cvFaI3T gjj4m197sHgF8jrXaZdVs3sActiLdISoE+A7+DQgozFxIgDJCFnP9vFdbff7Ffam aU7mPZjhKFDDO1FqJ9YLowQ09qqwuSbecPrhejiVyQgKm5uuzvWpwS4PftljVhVX X/qkSGU9wMHT3LhFD9rs0rttBKyAkpdFlw3iu9eKxLhR6wukLmpXD0wUDts6Mpgx cuEI60MHSsLn29GNuqt+dibzPFK16HK+B8GA5DuyWoqoUJKaTczXWYkMfEsAA2iK M21zL+OXWa6P/l5YYlwBldeaxBygJDFwysIyI52cbgEZpK1E+wkv1ZhTX9VzZzxg APDOyFGvE9UpOnVw9bFr =aDK3 -----END PGP SIGNATURE----- --7GP83iWnoApinnVh7TVpB5IiBkAEwbwVf--