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, 18 Dec 2002 21:45:35 +0100 From: Frederick Page To: cygwin AT cygwin DOT com Subject: Telnet: "hostname: gethostname: operation not permitted" Message-ID: <20021218204535.GA8662@thebetteros.oche.de> Mail-Followup-To: Frederick Page , cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: Linux 2.4.18 i586 Hi everybody, I downloaded the most recent cygwin-packages yesterday, have a Linux-machine (Debian, Woody, Kernel 2.4.18) and an XP-Prof SP1 one. telnet and ftp give me "hostname: gethostname: operation not permitted" *after* the successful login. Besides this error-message, ftp and telnet seem to work fine. However, there is a delay in response, after "telnet wintendo" it takes a few seconds to display the cygwin login-prompt. I'm experiencing problems with issuing "rsh wintendo date" as root AT debian, this gives me "date: write error: operation not permitted". The eventlog of the XP-machine says (marked as information), this looks fine to me: rshd : Win32 Process Id = 0x694 : Cygwin Process Id = 0x694 : root AT debian as root: cmd='date'. Entering "rsh -l rscsi wintendo date" (User rscsi has /usr/local/bin/rscsi as login-shell) gives me rscsi's debug-messages: rscsid: user id 1004, name rscsi rscsid: stdin st_mode 140666 rscsid: peername Operation not permitted The author of rscsi says, that stdin is a socket (as it should be) but function getpeername() would fail, thus resulting in failure of rscsi. I assume, the "gethostname" and "getpeername" problems are related, that I'm doing something wrong, but what? The opposite direction (XP to Linux) works fine, I compared the config-files, also googled a lot, searched this archive, but couldn't find a solution to my problem. Any help would be greaty appreciated. I did not want to bore you with long extracts from my config-files, but would of course provide any eventually missing information. TIA Frederick (PS: I'm not a native English speaker, so please bear with me) -- 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/