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: <4315509E.6C41C634@dessent.net> Date: Tue, 30 Aug 2005 23:39:26 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Can't switch to another user. References: <431471D8 DOT 30106 AT ti DOT com> <431479FA DOT 4040306 AT ti DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 -- 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/