Re: Remote mounts unavailable via rsh/rlogin/telnet
Vince Hoffman wrote: This is a morning post before coffee so i'm probably missing something but have you tried using password authentication rather than hosts.equiv or .rhosts ? Yes. I see the same behavior when I move these aside, and rlogin supplying the password interactively. I neglected to mention this is under XP. I've had NT 4.0 and Windows 2000 mount local drives fine, but this is also different in that the drive is mounted via Samba. When I start the session I have only C: mounts; the home directory drive is marked Unavailable, so I mount /cygdrive/k via cmd: net use k: \\tor\win-kirke Status Local RemoteNetwork Unavailable H:\\tor\kirke Microsoft Windows Network Unavailable I:\\Tor\rootMicrosoft Windows Network OK K:\\tor\win-kirke Microsoft Windows Network Unavailable M:\\Mor\music Microsoft Windows Network Unavailable P:\\Mor\My Pictures Microsoft Windows Network The command completed successfully. /home/kirke is a symbolic link to k:/ [kirke@XOR kirke]$ getfacl .bashrc # file: .bashrc # owner: 19938 unknown # group: 1021 unknown user::rwx group::r-- mask::r-- other::r-- Locally my id output is the same, but: [kirke@XOR k]$ getfacl .bashrc # file: .bashrc # owner: kirke # group: Administrators user::rwx group::r-- mask::r-- other::r-- I've explored to C:/cygwin/home, and make unchecked readonly on kirke there, and repeated the process specifying password on the way in to no avail... Thanks for your help. kirk Thanks for your help, kirk -- 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/
Remote mounts unavailable via rsh/rlogin/telnet
Hello, I've read all your postings related to rsh/rlogin, but I've been unable login with write access to my home. My home directory is shared by my Windows boxes, and lives on the Linux machine I'm attempting to come in from. My Windows HOME is k:, which I've mounted by way of Windows: Tools | Map Network Drive Its persistent across logins to Windows and works fine. I install the inetd service thusly: cygrunsrv -I inetd -d CYGWIN inetd -p /usr/sbin/inetd -a -d -e CYGWIN=ntsec and I can rlogin, but remote mounts are UNAVAILABLE. The problem I guess is that all my attempts to mount from the rlogin session, yield a different uid/gid, the simplest is: cmd C:\cygwin net use k: \\Tor\win-kirke I created a symbolic link for /home/kirke - h: And I can rlogin, but: vi ~/.bashrc- yields a readonly session cat it - creates but won't give 'it' size 0 Windows: [kirke@XOR k]$ l .bashrc -rw-r--r--1 kirkeNone 1174 Oct 5 16:15 .bashrc [kirke@XOR k]$ id uid=1003(kirke) gid=513(None) groups=513(None),544(Administrators) via Linux: [kirke@XOR kirke]$ l .bashrc -rwxr--r--1 199381021 1174 Oct 5 16:15 .bashrc* [kirke@XOR kirke]$ id uid=1003(kirke) gid=513(None) groups=0(Everyone),513(None),544(Administrators), 45(Users) I've scoured the mail archives and Google for a couple days, fiddled with --user in starting inetd, and several mount and 'net use' commands no avail. mount -b -s -f \\tor\win-kirke /home/kirke I've placed the Linux machine's name in /etc/hosts.equiv, and in ~/.rhosts - but apparently .rhosts is inaccessible from this angle... Any suggestions appreciated, kirk -- 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/
Re: Too many open files
Larry Hall (RFK Partners, Inc) wrote: At 06:28 PM 2/26/2002, Kirk Erickson wrote: I love cygwin I've had no problems at home (running under XP), but I'm experiencing a problem reported earlier by Benoit Rochefort http://sourcesredhatcom/ml/cygwin/2002-02/msg00791html under Windows 2000 Professional Ver 50 Build 2195 Service Pack 2 I can reproduce by doing a find -type l in my home directory The find hangs, and even if I kill it, subsequent commands fail: [kirke@BAG HINTS]$ cat HINTS cat: HINTS: Too many open files I've attached cygcheck output 386k 1998/02/26 C:\WINNT\cygwinb19dll - os=40 img=10 sys=40 cygwinb19dll v00 ts=1998/2/25 2:22 Get rid of the DLL above Never mix Cygwin DLL versions I saw the same failure after removing this Also, I scratch installed Windows 2000, and redid the Cygwin install from scratch (nothing but setupexe) Its apparent that directory entries relative to my HOME directory are corrupt: [kirke@BAG backup]$ ls -l big* ls: big-2002-0228-1555: No such file or directory -rw-r--r--1 kirkeAdminist 547 Nov 9 2000 big-2001-0108-1137 -rw-r--r--1 kirkeAdminist 568 Jan 16 2001 big-2002-0212-1443 -rw-r--r--1 kirkeAdminist 532 Nov 1 2000 bigd-2001-0108-1137 -rw-r--r--1 kirkeAdminist 529 Jan 16 2001 bigd-2002-0212-1443 [kirke@BAG backup]$ pwd /cygdrive/z/private/kirke/scripts/backup This directory lives on a server managed by our IS group I've requested they do a 'chkdsk /f' to clean up I guess find is leaking descriptors when it encounters bad directory entries kirk -- Unsubscribe info: http://cygwincom/ml/#unsubscribe-simple Bug reporting: http://cygwincom/bugshtml Documentation: http://cygwincom/docshtml FAQ: http://cygwincom/faq/
Too many open files
Hello, I love cygwin. I've had no problems at home (running under XP), but I'm experiencing a problem reported earlier by Benoit Rochefort http://sources.redhat.com/ml/cygwin/2002-02/msg00791.html under Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2. I can reproduce by doing a find . -type l in my home directory. The find hangs, and even if I kill it, subsequent commands fail: [kirke@BAG HINTS]$ cat HINTS cat: HINTS: Too many open files I've attached cygcheck output. Appreciate any suggestions, kirk Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Feb 25 15:28:16 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path: . z:\private\kirke\scripts z:\private\kirke\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\sbin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `z:\private\kirke' MAKE_MODE = `unix' PWD = `/cygdrive/z/private/kirke/INSTALL/cygwin' USER = `kirke' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\kirke\Application Data' BINDIR = `/cygdrive/z/private/kirke/bin' COLORPRINTER = `wah2' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `BAG' COMSPEC = `C:\WINNT\system32\cmd.exe' HOMEDRIVE = `Z:' HOMEPATH = `\' HOMESHARE = `\\viking\kirke$' LIBDIR = `/cygdrive/z/private/kirke/lib' LOGONSERVER = `\\ORBITER' MANDIR = `/cygdrive/z/private/kirke/man' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `2' OLDPWD = `/cygdrive/z/private/kirke/INSTALL' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PRINTER = `maine' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0803' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\u@\h: \w\007\][\u@\h \W]\$ ' SHELL = `/bin/bash' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TAPE = `/dev/st0' TEMP = `c:\DOCUME~1\kirke\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\kirke\LOCALS~1\Temp' USERDOMAIN = `REDPLANET' USERNAME = `kirke' USERPROFILE = `C:\Documents and Settings\kirke' WINDIR = `C:\WINNT' XAPPLOADDIR = `/cygdrive/z/private/kirke/lib/app-defaults' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:/cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:/cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:/cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS8667Mb 22% CP CS UN PA FC d: cd N/AN/A e: hd NTFS8675Mb 56% CP CS UN PA FC work f: net NTFS 382051Mb 87% CP CS UN PA FC Data h: net NTFS 34728Mb 84% CP CSPAkirke i: net NTFS7489Mb 70% CP CSPAroot m: net NTFS 382051Mb 87% CP CS UN PA FC Data x: net NTFS 57721Mb 46% CP CSPAaudiogalaxy z: net NTFS 382051Mb 87% CP CS UN PA FC Data . /cygdrive userbinmode,noumount C:/cygwin / system binmode C:/cygwin/bin /usr/bin system binmode C:/cygwin/lib /usr/lib system binmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 386k 1998/02/26 C:\WINNT\cygwinb19.dll - os=4.0 img=1.0 sys=4.0 cygwinb19.dll v0.0 ts=1998/2/25 2:22 56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0 cygbz21.0.dll v0.0 ts=2000/11/20 15:53 621k 2002/01/16 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 cygcrypto.dll v0.0 ts=2002/1/16 1:54 107k 2002/01/23 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0 cygcurl-2.dll v0.0 ts=2002/1/23 10:25 73k 2002/01/16 C:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0 cygexslt-0.dll v0.0 ts=2002/1/16 1:06 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0