Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 16 Oct 2002 14:50:06 -0700 From: Sead Mujushi Reply-To: Sead Mujushi To: cygwin AT cygwin DOT com Subject: Problems with network share access after sshing into machine Message-ID: <164789394.1034779806@[172.16.1.93]> X-Sarda: Sardaman MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Filter-Version: 1.8 (lester) G'day guys, I have a problem that I think is related to permissions but I'm not entirely sure. I've followed some of the suggestions and tips that others and Corinna have posted to no avail. I have setup ssh on a Win2k machine running the cygwin environment "cygwin01". I've run > % mkpasswd -d -l > /etc/passwd > % mkgroup -d -l > /etc/group I've got ssh working, I can login and get the Fanfare motd message (which I changed) but network shares don't appear once I've logged in. The "wdsladm" login is a domain account. eg: Testing network share, sshing in then no longer being able to access that share... > CYGWIN01-wdsladm-~-266 % ls -l /cygdrive > total 0 > drwxr-xr-x 26 wdsladm None 0 Oct 16 10:39 i/ > CYGWIN01-wdsladm-~-268 % ssh localhost > wdsladm AT localhost's password: > Last login: Wed Oct 16 14:06:06 2002 from cygwin01.arraycomm.com > You have logged in... > CYGWIN01-wdsladm-~-250 % ls -l /cygdrive > total 0 > CYGWIN01-wdsladm-~-251 % I've tried mounting the directory using net use: > CYGWIN01-wdsladm-~-312 % net use t: "\\\\sj-f760-2\\s" > The command completed successfully. > > CYGWIN01-wdsladm-~-313 % ls -l /cygdrive/t > ls: /cygdrive/t: No such file or directory But if I open a local bash connection to the machine (not using ssh) it's successfull: > CYGWIN01-wdsladm-~-250 % ls -l /cygdrive/t > total 5 > -rw-r--r-- 1 wdsladm None 3736 Nov 26 2001 README Any pointers or tips? Thanks in advance. PS: My 2 bits. I use rxvt and in a batch file I have listed here is my incantation to rxvt to give me a half decent terminal window. The bindings are set so that cut, copy and paste works between windows and cygwin without having to deal with the limitations of the cmd.exe interface: c:\cygwin\bin\rxvt.exe -g 120x45+100+100 -bg #000000 -fg #999999 -cr #00ff00 -pr #ff0000 -fn "Courier New-16" -sl 4096 -vb -e c:\cygwin\bin\bash (Change your paths as appropriate.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/