Date: Thu, 15 Aug 2013 19:24:14 +0200 From: Florent Peterschmitt <florent@peterschmitt.fr> To: freebsd-stable@freebsd.org Subject: Behavior of jexec Message-ID: <520D0EBE.401@peterschmitt.fr>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?520D0EBE.401>