X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_DUL,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <150798.52725.qm@web36401.mail.mud.yahoo.com> Date: Wed, 6 Oct 2010 12:53:02 -0700 (PDT) From: shubhada pugaonkar Subject: cygwin sshd priviledge problem on 2008 To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi =A0 I hope this is the right maling list for this issue. I have cygwin sshd ser= vice=20 installed on windows 2008 server SP2. I setup the cygwin ssh server by answ= ering=20 yes to all questions asked by sshd-host-config and letting it create the=20 cyg_server user etc.=20 =A0 If I do simple commands then ssh is working just fine(ls, cp etc). But it f= ails=20 when I am trying to do few system commands from a linux box. E.g ssh=20 administrator AT neptune 'ping 10.10.10.1' =A0 If I do ping locally then it shows successful ping but if I do it as shown = in=20 line above the ping gets executed but always returns failure. But reboot wo= rks=20 fine. Also I noticed that when I use some windows system tools e.g. devcon,= =20 whether directly or through bat files, the actual execution is fine but the= =20 command always fails. But if I execute exact same thing in cygwin shell in = that=20 machine, locally it is successful. I think I am having some permissions pro= blem=20 which I am unable to figure out. Here is my /etc/passwd file output. Also a= fter=20 some time if the machine is idle the ssh just stops working and I have to r= eboot=20 the system. Just stopping and starting the service again does not work.=20 =A0 SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-WIN-U0Y5LEC50LA\Administrator,= S-1-5 -21-232753783-2184645003-96538338-500:/home/Administrator:/bin/bash Guest:unused_by_nt/2000/xp:501:513:U-WIN-U0Y5LEC50LA\Guest,S-1-5-21-2327537= 83-21 84645003-96538338-501:/home/Guest:/bin/bash test:unused_by_nt/2000/xp:1001:513:test,U-WIN-U0Y5LEC50LA\test,S-1-5-21-232= 75378 3-2184645003-96538338-1001:/home/test:/bin/bash sshd:unused_by_nt/2000/xp:1002:513:sshd privsep,U-WIN-U0Y5LEC50LA\sshd,S-1-= 5-21- 232753783-2184645003-96538338-1002:/var/empty:/bin/false cyg_server:unused_by_nt/2000/xp:1003:513:Privileged server,U-WIN-U0Y5LEC50L= A\cyg _server,S-1-5-21-232753783-2184645003-96538338-1003:/var/empty:/bin/false =A0 =A0 Any help greatly appreciated. Please let me know if any more information is= =20 needed. =A0 Thanks SP -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple