RE:ftpd issue on Win XP
Hi, I have a threeial boot (NT, W2K, XP). I successfully ran ftpd via inetd on Winnt and W2K but On windows Xp professionnal) it fails i have this :530 Login incorect Login failed althought the etc/passwd and etc/group seemed to be correct and the patch ntsec is here . Is there something specific to XP? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:tftpd hpa under windows
Hi folks, I used by default the Cygwin tftpd server and it works rather fine but unfortunetly i must now use a tftpd server which understands the option tsize and the Cygwin tftpd don't so I tried the last version of tftpd-hpa 0.29 which includes a port on Win32 with cygwin and know tsize option.. It compiles quite fine and i started it by cygwin inetd. But when i tried to make a tftp transaction i have this in the log: can't drop privilege: not owner. I send you my conf files.I tried to get a file which is under/bootp its name is cygwin.bat and it is owned by Administrateur when i make a ls -l in this directory. Thanks for your precious help. Tout le monde:*:0:0:,S-1-1-0:: SYSTEM:*:18:18:,S-1-5-18:: Administrateurs:*:544:544:,S-1-5-32-544:: Administrateur:unused_by_nt/2000/xp:500:513:U-44CGMB0114\Administrateur,S-1-5-21-733626998-791112675-398547282-500:/home/Administrateur:/bin/bash anonymous:unused_by_nt/2000/xp:1371:513:U-44CGMB0114\anonymous,S-1-5-21-733626998-791112675-398547282-1371:/home/anonymous:/bin/bash ftp:unused_by_nt/2000/xp:1372:513:U-44CGMB0114\ftp,S-1-5-21-733626998-791112675-398547282-1372:/home/ftp:/bin/bash Invité:unused_by_nt/2000/xp:501:513:U-44CGMB0114\Invité,S-1-5-21-733626998-791112675-398547282-501:/home/Invité:/bin/bash nobody:unused_by_nt/2000/xp:1373:513:U-44CGMB0114\nobody,S-1-5-21-733626998-791112675-398547282-1373:/home/nobody:/bin/bash popo:unused_by_nt/2000/xp:1024:513:U-44CGMB0114\popo,S-1-5-21-733626998-791112675-398547282-1024:/home/popo:/bin/bash Tout le monde:S-1-1-0:0: SYSTEM:S-1-5-18:18: Aucun:S-1-5-21-733626998-791112675-398547282-513:513: Administrateurs:S-1-5-32-544:544: Duplicateurs:S-1-5-32-552:552: Invités:S-1-5-32-546:546: Opérateurs de sauvegarde:S-1-5-32-551:551: Utilisateurs:S-1-5-32-545:545: Utilisateurs avec pouvoir:S-1-5-32-547:547: FTPUSER:S-1-5-21-733626998-791112675-398547282-1276:1276: OXEUSER:S-1-5-21-733626998-791112675-398547282-1287:1287: # See man 8 inetd for more information. # # If you make changes to this file, either reboot your machine or restart # inetd: # net stop inetd # net start inetd # The inetd will then re-read this file. # # service_name sock_type proto flags user server_path args # echostream tcp nowait rootinternal echodgram udp waitrootinternal discard stream tcp nowait rootinternal discard dgram udp waitrootinternal daytime stream tcp nowait rootinternal daytime dgram udp waitrootinternal chargen stream tcp nowait rootinternal chargen dgram udp waitrootinternal timestream tcp nowait rootinternal timedgram udp waitrootinternal # # The external services are typically called via 'tcpd' for # security reasons, eg. # ftp stream tcp nowait root/usr/sbin/tcpd in.ftpd # # but tcpd is not part of the inetutils, unfortunately. # Nevertheless there's a port contributed by Prentis Brooks [EMAIL PROTECTED] # # We are calling the services here directly. # # These are standard services. # ftp stream tcp nowait root/usr/sbin/in.ftpd in.ftpd telnet stream tcp nowait root/usr/sbin/in.telnetd in.telnetd # # Shell, login, exec and talk are BSD protocols. # shell stream tcp nowait root/usr/sbin/in.rshd in.rshd -L login stream tcp nowait root/usr/sbin/in.rlogind in.rlogind execstream tcp nowait root/usr/sbin/in.rexecd in.rexecd talkdgram udp waitroot/usr/sbin/in.talkd in.talkd ntalk dgram udp waitroot/usr/sbin/in.talkd in.talkd # # The Internet UUCP service. # uucpstream tcp nowait uucp/usr/sbin/in.uucpd in.uucpd # # Tftp service is provided primarily for booting. Most sites # run this only on machines acting as boot servers. # tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -c -u Administrateur -s /bootp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:ftp anonymous on NT server
Hi, I use cygwin setup on Both Windows NT Workstation and Server I create ftp and anonymous users but I didn't put them in a group. It works on Nt workstation but it fails on NT server (Login failed). I wonder if there is a way to know the Nt group with for exemple the registry to add by code ftp and anonymous user in a group. Also how does cygwin setup create the file etc/group with the groupname of the Nt Group. thanks for your precious help. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:run dhcpd server from inetd
Hi, I wanted to run an dhcpd server from inetd. I put on usr/sbin a exe dhcpd.exe but when i ran inetd i have : Inetd : Win32 Process Id = 0xFFC4180D : Cygwin Process Id = 0x3BE7F3 : LOG_ERR : bootps/udp: unknown service althought i put bootps dgram udp waitroot/usr/sbin/dhcpd eth0 in my inetd.conf. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:Cygwin without installing
Hi, i use and enjoy Cygwin in multiple windows platforms to run a linux application on windows. But i have a lot of times not enough space to install cygwin in the hard disk of my Pc's. I would make a cygwin CD with all the cygwin arborescence and to store only conf files in my hard disk. I wonder if it is possible(i run and need Cygwin inetd tftpd ftpd anonymous) for my applications. I someone already tried to do this? Thanks for all your replys that could help me in my task. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:Windows 98 socket issue
Hi, I have ported a Unix dhcpd server in WIndows NT thanks to Cygwin gcc and it works good.I have made a dual boot on my pC WIndows Nt and WIn98 SE. but It fails on Windows 98 SE. My server never replies unless if i start it with the option -d (debug mode)so with this option it works but i wnated to start it and daemonize it without -d option like in NT. Why?and why on NT it replies good always with or without the -d option. Thanks. Here comes my strace in normal mode and with the debug mode. Cygnus Win95/NT Configuration Diagnostics Current System Time: Thu Feb 21 12:41:08 2002 Windows 98 SE Ver 4.10 build 67766446 A Path: C:\oxe\cygwin\usr\local\bin C:\oxe\cygwin\bin C:\oxe\cygwin\bin C:\oxe\cygwin\bin C:\oxe\cygwin\USR\LOCAL\BIN f:\WINDOWS f:\WINDOWS\COMMAND SysDir: F:\WINDOWS\SYSTEM WinDir: F:\WINDOWS HOME = `C:\oxe\cygwin\home\Alcatel' MAKE_MODE = `unix' PWD = `/home/Alcatel' USER = `Alcatel' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\Software\Cygnus Solutions HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\oxe\cygwin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:/oxe/cygwin/bin' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:/oxe/cygwin/lib' flags = 0x000a HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd FAT 2007Mb 90% CPUN DRIVE_C d: hd FAT 1468Mb 76% CPUN DRIVE_D e: hd FAT 1468Mb 73% CPUN DRIVE_E f: hd FAT 1181Mb 27% CPUN DRIVE_F g: cd CDFS 416Mb 100% UN e1 5011 . /cygdrive userbinmode,noumount C:\oxe\cygwin / system binmode C:/oxe/cygwin/bin /usr/bin system binmode C:/oxe/cygwin/lib /usr/lib system binmode Found: C:\oxe\cygwin\bin\bash.exe Found: C:\oxe\cygwin\bin\cat.exe Not Found: cpp (good!) Found: C:\oxe\cygwin\bin\find.exe Found: f:\WINDOWS\COMMAND\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\oxe\cygwin\bin\ls.exe Found: C:\oxe\cygwin\bin\make.exe Found: C:\oxe\cygwin\bin\sh.exe 18k 2000/10/23 C:\oxe\cygwin\bin\cyggdbm.dll 119k 2001/06/06 C:\oxe\cygwin\bin\cygjpeg6b.dll 45k 2001/04/25 C:\oxe\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\oxe\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\oxe\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\oxe\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\oxe\cygwin\bin\cygpanel5.dll 34k 2001/09/30 C:\oxe\cygwin\bin\cygform6.dll 19k 2001/09/30 C:\oxe\cygwin\bin\cygmenu6.dll 175k 2001/09/30 C:\oxe\cygwin\bin\cygncurses++6.dll 201k 2001/09/30 C:\oxe\cygwin\bin\cygncurses6.dll 12k 2001/09/30 C:\oxe\cygwin\bin\cygpanel6.dll 17k 2001/06/28 C:\oxe\cygwin\bin\cyghistory4.dll 21k 2001/06/28 C:\oxe\cygwin\bin\cyghistory5.dll 108k 2001/06/28 C:\oxe\cygwin\bin\cygreadline4.dll 135k 2001/06/28 C:\oxe\cygwin\bin\cygreadline5.dll 49k 2001/02/03 C:\oxe\cygwin\bin\cygz.dll 714k 2001/11/14 C:\oxe\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.5 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 47 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Tue Nov 13 23:16:25 EST 2001 CVS tag: cygwin-1-3-5-2 Shared id: cygwin1S3 Cygwin Package Information Package Version ash 20011018-1 bash2.05a-2 cygwin 1.3.5-3 diff0.0 fileutils 4.1-1 findutils 0.0 gdbm1.8.0-3 grep2.4.2-1 gzip1.3.2-1 inetutils 1.3.2-15 jpeg6b-4 libncurses5 5.2-1 libncurses6 5.2-2
Re:Sprintf issue
Hi, i tried to modified a C program running on linux and make it running on windows with gcc for cygwin: like this: sprintf(arpbuf, arp -s %s `echo %s | sed -e s/:/-/g` piaddr (lease - ip_addr), print_hw_addr (lease - hardware_addr.htype, lease - hardware_addr.hlen, lease - hardware_addr.haddr)); note(arpbuf); system(arpbuf); } and the original was: sprintf(arpbuf, arp -s %s %s , piaddr (lease - ip_addr), print_hw_addr (lease - hardware_addr.htype, lease - hardware_addr.hlen, lease - hardware_addr.haddr)); note(arpbuf); system(arpbuf); } but my second %s was with the following format XX:XX:XX:XX:XX:XX and i would replace it by XX-XX-XX-XX-XX-XX. I tried sed but it didn't work.Why? it seem not to be interpreted I have : arp -s 192.40.54.42 `echo 00:80:9f:2e:3f:5e | sed -e s/:/-/g` Could i do it in pure C?Thanks for your precious help. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:anonymous ftp on WIn9x
Hi, I wonder how i can anonymous ftp enable under Win9x, do i must add a line with ftp in the passwd file? In winnt, the set up programs create a user ftp in the passwd allowing anonymous ftp based by the nt box user, how can i do to declare a ftp user in Win 9x to make cygwin setup automatically create a ftp user in the passwd file without adding by hand in this file . Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to stop Inetd
It didn't work but i tried this that worked from hand in the bash cygwin: ps |awk '/INETD/{print $1}'|xargs kill but unfortunately by Perl code it didn't: I tried: system( c:\\cygwin\\bin\\bash.exe('ps |awk '/INETD$/{print $1}|xargs kill')) or system(c:\\cygwin\\bin\\ps.exe |c:\\cygwin\\bin\\awk.exe '/INETD/{print $1}'|c:\\cygwin\\bin\\xargs.exe c:/cygwin/bin/kill.exe); neither by replacing \\ by /. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:symlinks
Hi, I have made a symlink with the cygwin command ln -s and i wanted to remove it by Perl code: I have this: $PROG2 = C:\\cygwin\\bootp\\linux\\install ; if (-l $PROG2) { system rm $PROG2; } else{ print popo; } The problem is that the symlink install it isn't removed althought it is present with ls -l in the good directory? Why? I tested my rm command by hand and it works it seems -l not working. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: symlinks
Thanks all it works now. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re:Stop ftp cygwin
hi, I wanted to stop ftp cygwin if there is already a ftp server running but if not i wnat to start ftp cygwin . How can I know by code if there is already a ftp server running? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:Cygwin on a CD
Hi, I use Cygwin and I wonder if it would be possible to run Cygwin environment without installing it in hard disk, by running it from a CD for exemple, I know that some Linux distribution can be run without installing them(no special partition needed) in hard disk and running them from a CD. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:self extractive executable Archive
Actually i wanted to make a self extractive executable Archive with Cygwin Zip. How can I do this? I tried to use -A option but it didn't make an Win32 exe. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:set up question
Hi, I wonder if in the set up.exe we can add field in setup.ini to specify whether package is installed by default, or not. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: RE:set up question
So, I would like to install by default inetutils without going to Net And specify the version of inetutils because by defaut when I ran Setup.exe Inetutils are Skip. How can i do?Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: automatise Inetutils installations
Hi, I wonder if it is possible when I ran set up for the first time to install the package Inetutils automatically because now it is Skip by default, and I must change it to the last version. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:Set path environment variable
HI, I am under Nt and I wonder if it is possible to add PATH =c:\cygwin\bin to the default PATH without tne NT Box sytem with a script(Perl for exemple).??? How can I do this? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE:Making perl script running under bash cygwin
Hi, I have this : system(perl -i.orig -pe 's!/home/ftp!/!g' c:/cygwin/etc/passwd) or die; And it dies always althought it works if I run it by Hand in the cygwin bash. Why? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/