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 Message-ID: <4315A8AB.6030704@ti.com> Date: Wed, 31 Aug 2005 07:55:07 -0500 From: Ramasubramanian Ramesh User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040218 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Help me to get xinetd/inetd working. References: <431471D8 DOT 30106 AT ti DOT com> <431479FA DOT 4040306 AT ti DOT com> <4314F259 DOT 1040009 AT ti DOT com> In-Reply-To: <4314F259.1040009@ti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >Ramasubramanian Ramesh wrote: > >> Based on the document I read, I got the impression that I cannot use su >> but login will work. I really do not need to login as different user. > >I don't know which document you're referring to, but the first paragraph >of /usr/share/doc/Cygwin/login.README says > >Under NT/2K/XP, login(1) is _not_ supposed to work on the command line >to change user context! Though you're able to tweak user permissions >to get login(1) working that way, that's NOT officially supported. > >> However, I see that xinetd does not work as it should. It also >> misteriously dies with some sort of permission denied message. So when I >> did a xinetd -d to see the transcript of an attempt to telnet, I saw >> something similar to login failure. So I decided to try a simple >> experiment with login. But I really need inetd/telnet/ftp to work. > >>From your cygcheck, you have no services installed. How are you running >xinetd? You can't just run it as "xinetd &" because under Windows, >regualr user accounts do not have the privileges necessary to switch >user credentials. You need to install it as a service running as >SYSTEM. Services are the analog of daemons in the unix world. > >Brian Brian, Thank you for raising the important point of services. I am not much of an expert in windows and thus did not even know about "services" package or its need. I also do not know much about SYSTEM/ntsec and how win xp works. Thus I expected setup.exe to install services or anything else needed by deafult when I choose inetd/xinetd. Thus I did not know that I need to run the daemons any different. My fault in not reading /usr/share/doc/Cygwin/login.README is due to the way I looked for docs. In Linux the docs are placed under /usr/share/doc/. Thus I looked for /usr/share/doc/login... I should have done a find. I will be more careful next time. Regards Ramesh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/