summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2016-07-29 12:49:45 -0700
committerRuss Allbery <eagle@eyrie.org>2016-07-29 12:49:45 -0700
commit3d465eae3de8463c818e97e6994f4fab08d1497d (patch)
tree83f88ced2b1a34584f65baf56e60285e7c85b551 /docs
parente1e6ee5c5db7bda2b226bb3e8b9d21f2f3b2af8d (diff)
Document PermitUserEnvironment requirement
Diffstat (limited to 'docs')
-rw-r--r--docs/remctl-shell.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/remctl-shell.pod b/docs/remctl-shell.pod
index af3cfc7..0322a0e 100644
--- a/docs/remctl-shell.pod
+++ b/docs/remctl-shell.pod
@@ -90,6 +90,12 @@ user identities that look like Kerberos principal names is strongly
recommended, since it may make it easier to use some of the ACL methods
intended for the normal remctl server.
+Since this relies on setting environment variables via C<authorized_keys>,
+you unfortunately have to enable C<PermitUserEnvironment> in
+F<sshd_config> (this is not the default) by adding:
+
+ PermitUserEnvironment yes
+
B<remctl-shell> will not make use of forwarded connections or agents, and
will not pass them along to the processes they run, so all such ssh
options should normally be disabled for defense in depth security.
@@ -283,6 +289,11 @@ work. The easiest way to run commands as other users is to have the
underlying command use B<sudo> or some other user switching mechanism,
which will normally require additional local configuration.
+User environment setting has to be enabled in B<sshd> by setting the
+non-default C<PermitUserEnvironment> configuration option. A future
+version of B<remctl-shell> may use forced commands with an argument
+instead of a shell to avoid this.
+
=head1 AUTHOR
B<remctl-shell> was written by Russ Allbery <eagle@eyrie.org>. Many