delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/24/03:13:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Cygwin 1.7.7, User Variables, User Profiles
X-KeepSent: F985DD98:3E9EB25A-C12577E5:002D1C9E; type=4; name=$KeepSent
Message-ID: <12743_1290586397_4CECC91D_12743_11770_1_OFF985DD98.3E9EB25A-ONC12577E5.002D1C9E-C12577E5.002D283C@nbg.sdv.spb.de>
From: rudolf DOT bendl AT extern DOT sdv-it DOT de
Date: Wed, 24 Nov 2010 09:13:14 +0100
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi all,

I try to invoke the "set" command over ssh to a Cygwin 1.7.7 server and 
would expect that I get the variables I have defined in 
$HOME/user/.profile

e.g:

$HOME/user/.profile

...
TEST=test
export TEST
....

ssh user AT host set

...SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='10.2.10.163 2224 22'
SSH_CONNECTION='10.2.10.163 2224 10.38.2.88 22'
SYSTEMDRIVE=C:
SYSTEMROOT='C:\Windows'
TERM=dumb                                               -> Missing TEST 
Variable
UID=99010
USER=a00bend
USERDOMAIN=SDVRZ
USERNAME=a00bend
USERPROFILE='C:\Users\a00bend'
WINDIR='C:\Windows'
......

But I dont see the variables I defined in $HOME/user/.profile. What can I 
do?

Regards
Rudolf


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019