This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin sshd priviledge problem on 2008


Hi
?
I hope this is the right maling list for this issue. I have cygwin sshd service 
installed on windows 2008 server SP2. I setup the cygwin ssh server by answering 
yes to all questions asked by sshd-host-config and letting it create the 
cyg_server user etc. 

?
If I do simple commands then ssh is working just fine(ls, cp etc). But it fails 
when I am trying to do few system commands from a linux box. E.g ssh 
administrator@neptune 'ping 10.10.10.1'
?
If I do ping locally then it shows successful ping but if I do it as shown in 
line above the ping gets executed but always returns failure. But reboot works 
fine. Also I noticed that when I use some windows system tools e.g. devcon, 
whether directly or through bat files, the actual execution is fine but the 
command always fails. But if I execute exact same thing in cygwin shell in that 
machine, locally it is successful. I think I am having some permissions problem 
which I am unable to figure out. Here is my /etc/passwd file output. Also after 
some time if the machine is idle the ssh just stops working and I have to reboot 
the system. Just stopping and starting the service again does not work. 

?
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-232753783-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-23275378
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-U0Y5LEC50LA\cyg
_server,S-1-5-21-232753783-2184645003-96538338-1003:/var/empty:/bin/false
?
?
Any help greatly appreciated. Please let me know if any more information is 
needed.
?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]