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: <000501c331b8$906a87b0$ccf37cc1@ict.nsc.ru> From: "Dima Chubarov" To: Subject: 1.3.22 login problem Date: Fri, 13 Jun 2003 21:32:05 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Note-from-DJ: This may be spam Hello, login always fails with my cygwin installation on Win2000. I have checked the mailing lists and found the following letter by Corinna Vinschen (in reply to Mark Calder): Mark Calder> When I use the login command I get "login Mark Calder> incorrect". Corinna Vinschen> You cannot change user context on Corinna Vinschen> NT/W2K if your account Corinna Vinschen> has not explicitely set several user Corinna Vinschen> rights. Even administrator Corinna Vinschen> doesn't have all these user rights. Corinna Vinschen> These rights are Corinna Vinschen> Corinna Vinschen> "Act as part of the operating system" Corinna Vinschen> "Replace process level token" Corinna Vinschen> "Increase quotas" Corinna Vinschen> .... Even when these are set for my group (there is still a possibility that I did not get the Russian translation right) login fails. And I need login to run inetd. My typical BASH session looks like bash-2.05b$ export CYGWIN=ntsec bash-2.05b$ login root Password: Login incorrect login: bash-2.05b$ mkpasswd -lu root root:unused_by_nt/2000/xp:1002:513: Основатель,U-LAB22-3\root, S-1-5-21-789336058-920026266-1708537768- 1002:/home/root:/bin/bash PS. Interestingly, when I call Access Control functions, such as LookupAccountName, I get Error 1722 (The RPC server is unavailable) #!perl use Win32::API; my $lookupAccountName = new Win32::API( "advapi32", "LookupAccountName", ['P','P','P','P','P','P','P'],I ); my $rc = $lookupAccountName->Call([],"root",$sid,$cbsid, $refDomain,$cbRefDomain,$peUse); if ($rc == 0) { my $errcode = $getLastError->Call(); print "Error $errcode\n"; } -- 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/