This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Am 18.02.2014 15:26, schrieb Corinna Vinschen:
On Feb 18 15:20, Dominik StraÃer wrote:Hi Corinna, Am 18.02.2014 13:43, schrieb Corinna Vinschen:On Feb 18 13:35, Dominik StraÃer 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 cKeep 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 viaSo what I am doing now is (in .bashrc) /cygdrive/c/Windows/system32/mount.exe '<nfs-path>' k: mount k: /home/user1 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-nopasswd3tried it, but didn't work: $ passwd -R [etc] Enter your current password: Re-enter your current password: Storing password failed: Function not implemented
Hi Corinna,
Of yourse I did :-), and I clicked on "Run as adminstrator" for the Cygwin shell (otherwise the error message was different: Storing password failed: bad file descriptor)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
Regards Dominik
Corinna
-- Dominik Strasser | Phone: +49 89 99013-436 OneSpin Solutions GmbH | Fax: +49 89 99013-100 Nymphenburgerstr. 20a 80335 Muenchen | dominik.strasser@onespin-solutions.com Geschaeftsfuehrung: Dr. Raik Brinkmann, Oliver Habeck Vorsitzender des Beirats: Paul Hill Sitz: Muenchen; Amtsgericht Muenchen HRB 139464 UstID#: DE 814413215 -- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |