From 6a342527873613a2a32265209addd1e84f4390f9 Mon Sep 17 00:00:00 2001 From: mouring Date: Tue, 20 Aug 2002 18:38:02 +0000 Subject: [PATCH] - marc@cvs.openbsd.org 2002/08/02 16:00:07 [ssh.1 sshd.8] note that .ssh/environment is only read when allowed (PermitUserEnvironment in sshd_config). OK markus@ --- ChangeLog | 5 +++++ ssh.1 | 9 +++++++-- sshd.8 | 8 ++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 740ff54c..b684157f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ Change mm_zalloc() sanity checks to be more in line with what we do in calloc() and add a check to monitor_mm.c. OK provos@ and markus@ + - marc@cvs.openbsd.org 2002/08/02 16:00:07 + [ssh.1 sshd.8] + note that .ssh/environment is only read when + allowed (PermitUserEnvironment in sshd_config). + OK markus@ 20020813 - (tim) [configure.ac] Display OpenSSL header/library version. diff --git a/ssh.1 b/ssh.1 index 1f3efca7..00ebdd4d 100644 --- a/ssh.1 +++ b/ssh.1 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh.1,v 1.160 2002/06/22 11:51:39 naddy Exp $ +.\" $OpenBSD: ssh.1,v 1.161 2002/08/02 16:00:07 marc Exp $ .Dd September 25, 1999 .Dt SSH 1 .Os @@ -742,7 +742,12 @@ reads .Pa $HOME/.ssh/environment , and adds lines of the format .Dq VARNAME=value -to the environment. +to the environment if the file exists and if users are allowed to +change their environment. +See +.Cm PermitUserEnvironment +in +.Xr sshd_config 5 . .Sh FILES .Bl -tag -width Ds .It Pa $HOME/.ssh/known_hosts diff --git a/sshd.8 b/sshd.8 index 37a7b58f..a098b43c 100644 --- a/sshd.8 +++ b/sshd.8 @@ -34,7 +34,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd.8,v 1.186 2002/06/22 16:45:29 stevesk Exp $ +.\" $OpenBSD: sshd.8,v 1.187 2002/08/02 16:00:07 marc Exp $ .Dd September 25, 1999 .Dt SSHD 8 .Os @@ -350,7 +350,11 @@ Sets up basic environment. .It Reads .Pa $HOME/.ssh/environment -if it exists. +if it exists and users are allowed to change their environment. +See +.Cm PermitUserEnvironment +in +.Xr sshd_config 5 . .It Changes to user's home directory. .It -- 2.45.1