X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Brian Kasper Subject: Re: "/bin/bash: permission denied" on WinXP 2003 x64 solved (privilege problem) Date: Mon, 13 Aug 2007 20:24:29 -0700 Lines: 32 Message-ID: References: <20070813112930 DOT GB17084 AT calimero DOT vinschen DOT de> <20070813122111 DOT GV8535 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Andrew DeFaria wrote: > I do recall having something similarly wrong with the ssh-host-config > when I was working at a client's site a while back. Something, IIRC, to > do with domain policies overriding local policies such that when trying > to ssh into the server I was receiving similar behavior (i.e. /bin/bash: > permission denied). I queried a few times here but never worked out the > problem and ended up using rsh instead. I no longer have access to the > client's site however. Could it be something like this in your situation > too? As I've said, I'm no expert when it comes to Windows security, especially in a situation involving domains, but perhaps I can lend some insight. It's possible that the domain and local policies are conflicting, but I think it's not likely -- I'm logging into the system with local accounts for both user-level and administrator-level access. If I was trying to do anything while logged in using my domain account, I'd guess that your suggestion would be more probable. It may also be possible that the corporate security folks at my workplace have changed one or more security settings. We don't have that many x64 systems, so as far as I know they don't have a standard preconfigured disk image. It's entirely possible that something has been tweaked that is causing the ssh-host-config script to fail silently. I say "fail silently" because I don't recall ever having seen any error messages while running the script. Now that I have a better handle on the situation, I'll follow Corinna's suggestions about wiping my sshd installation and then try to capture what happens during the sshd install. -B -- 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/