delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/18/09:27:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=gW8u17QA3hs6NnzCHLBkfb5IMSajjWVO5CMnE1TQgy+kGnf4agWwp
y3zRhT8GEH3IDJDC5uZmq0ARGWdd0c9kyydwcfwBpUfNd+QTcq5jt+WuGtbgPSZs
jCv51mcJ55JA0BE+lmLSQyK3Np3C/gO1d2Q8L2E+GmI9Sfbsr7/mOU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=4tuHI0uymmZdACcjGxlPCpdjhh4=; b=x9KIblg/DO1TMc972WRsBelqCKs6
fAa/3XRA4VLwUlMdcErNbtg7lp5QGPfXKdpMJbFKfvyQgtCfad9QBhLpaJf2lEOf
C1+JDnpOOOQBr8uZ7N9TStnlG9g0ttqdJLl+jDGKWfJmDTsQR/WriH9QW5NwKAAE
pRnUiplum5dzgow=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 18 Feb 2014 15:26:55 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: NFS/SSHD interaction
Message-ID: <20140218142655.GI2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <53034B02 DOT 6030501 AT onespin-solutions DOT com> <20140218122019 DOT GE2246 AT calimero DOT vinschen DOT de> <53035392 DOT 5060100 AT onespin-solutions DOT com> <20140218124332 DOT GF2246 AT calimero DOT vinschen DOT de> <53036C34 DOT 8050300 AT onespin-solutions DOT com>
MIME-Version: 1.0
In-Reply-To: <53036C34.8050300@onespin-solutions.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--UKdSZztwKekUWPpk
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 18 15:20, Dominik Stra=C3=9Fer wrote:
> Hi Corinna,
> Am 18.02.2014 13:43, schrieb Corinna Vinschen:
> >On Feb 18 13:35, Dominik Stra=C3=9Fer wrote:
> >>Hi Corinna,
> >>thanks for the pointer. I haven't yet fully understood the
> >>credentials stuff. But can it have this result:
> >>In the cygwin terminal:
> >>ls -l /cygdrive
> >>total 43
> >>d---------+  1 TrustedInstaller TrustedInstaller     0 Feb 18 10:27 c
> >>drwxr-x---  15 night            None              1024 Jan 23 22:53 k
> >>drwxr-x---  52 night            None             24576 Feb 18  2014 n
> >>drwxr-x--x  62 night            None             14336 Feb 17 13:57 s
> >>
> >>In the ssh:
> >>ls -l /cygdrive
> >>total 4
> >>d---------+ 1 TrustedInstaller TrustedInstaller 0 Feb 18 10:27 c
> >Keep in mind that the login via ssh is in another session than a desktop
> >session.  If you want a user to see the automatically mounted drives in
> >a ssh session, the ssh session needs the user's credentials.  This only
> >works if the user mounts the required drives manually after login via
> So what I am doing now is (in .bashrc)
> /cygdrive/c/Windows/system32/mount.exe '<nfs-path>' k:
> mount k: /home/user1
>=20
> which seems to work.
> >ssh, or if the login via ssh already has the credentials.  This is
> >only the case when using method 3:
> >http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3
> >
> >
>=20
> tried it, but didn't work:
> $ passwd -R
> [etc]
> Enter your current password:
> Re-enter your current password:
> Storing password failed: Function not implemented

Did you *read* the aforementioned URL?  It explains that a non-admin
needs cygserver to run passwd -R.  As an admin you can enter the
password for other users, if you know it.  See additionally
http://cygwin.com/cygwin-ug-net/using-utils.html#passwd


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--UKdSZztwKekUWPpk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTA22vAAoJEPU2Bp2uRE+gBKoP/jBHuAs9ALCXMVN6J9A4NC/J
ECqwaY+VfegfZOjkWOEvdUAFEif26NOmiar0JIGFyvEvvNrJYpQa5nY4Ma7DZaW3
3E9+hlDIFTxzq7ywSS/bNk13W6j7/WYUu0I/11/Esx7x+fC9AE8AS1CFyq292mlP
yE4IlJCps97txqDWEaz5V/P1Z2xjvDqnoG1JOK0eXC8XxlUXMgIceBZRWLD6jtv4
QLffHrvJtNoe7TcKUvaEw778E046+Jl8WnE/hYc/hUs3IT72Y0st4twbggk8k+JI
kGgzBejjp6SlFT8rX8ZAojAbMtK+VAc6vOpzDkDnb5a35//eN+oLByr9Nye1HFRq
snp785zFn95C0YGA4+aOUOZxk2cUzgP/mdh8Yb9VrPrJGd4jx5NITDe8E3isGZ2N
lzpKkG2SMzN8KRnun9HqpPLaUNYwF+0BSbadjc5NNnVHDY3BZPJut1NpugZi3B5n
fEpLf/sHmDRXzbuBKyH5v1crP0UkdAb3tIqA4E5aQ7E7LyD+7IQU4VzdjjPAFUPb
TezzIwoNu7qeDjgGIBlp1Buc+enBhOyi6rvNMU/G5zYU1qKDtLh2CHCiugo3XIyc
0kK4mSOIbuXZoR9ujX8IqABHxoI9f6BinpmnnXiSUdmEDu9mRZCbLBfGrR405HPm
n/M167kc28KTJWGQV0/M
=CkY7
-----END PGP SIGNATURE-----

--UKdSZztwKekUWPpk--

- Raw text -


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