summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-30 21:45:48 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-30 21:45:48 +0000
commit7a121fd137231c43a1e0c83c99dea90ce12b174f (patch)
tree64819c4347d2f7879f88327b8b04edb5128a3427
parentb51e6bba4ff999146f70ee82aabdc199f10c4b16 (diff)
We don't have an /etc/environment.
-rw-r--r--usr.bin/ssh/sshd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index e342f80c187..4a455ba5513 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -18,7 +18,7 @@ agent connections.
*/
#include "includes.h"
-RCSID("$Id: sshd.c,v 1.14 1999/09/30 08:34:25 deraadt Exp $");
+RCSID("$Id: sshd.c,v 1.15 1999/09/30 21:45:47 aaron Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -2057,10 +2057,6 @@ void do_child(const char *command, struct passwd *pw, const char *term,
child_set_env(&env, &envsize, SSH_AUTHFD_ENV_NAME, buf);
}
- /* Read environment variable settings from /etc/environment. (This exists
- at least on AIX, but could be useful also elsewhere.) */
- read_environment_file(&env, &envsize, "/etc/environment");
-
/* Read $HOME/.ssh/environment. */
snprintf(buf, sizeof buf, "%.200s/.ssh/environment", pw->pw_dir);
read_environment_file(&env, &envsize, buf);