group names in /etc/passwd, ssh root login & more

2003-02-08 Thread Uwe Mayer
Hallo, the cygwin user guide says its a feature that groups can be the owner of files. can somebody tell me why this is so when you can set the group attributes accordingly? also in linux you have a group "root" and a user "root". if both occur in your /etc/passwd file sshd won't allow "root" to l

mod_auth_ntsec

2003-02-07 Thread Uwe Mayer
Hi, I just mentioned the problem with mod_php4, the same applies to mod_auth_ntsec. However this time I extracted the mod_auth_ntsec.dll directly to /lib/apache/new and re-run: $ ./apache-mod_auth_ntsec.sh.done [activating module `ntsec_auth' in /etc/apache/httpd.conf] cp mod_auth_ntsec.dll /usr

mod_php4

2003-02-07 Thread Uwe Mayer
Hi, there have been some problems installing mod_php4 with apache, using setup.exe. i had the problem previously and here is how you can install php anyways: what happens is that setup.exe installs mod_php4, returns and nothing. php doesn't work. what i did was: extract the libphp4.dll from your

need help in compilation

2002-11-27 Thread Uwe Mayer
Hi, I get the following error message whin compiling anacron for cygwin: -- gcc -c -DSPOOLDIR=\"/var/spool/anacron\" -DRELEASE=\"2.3\" -DANACRONTAB=\"/etc/anacrontab\" -Wall -pedantic -O2 readtab.c -o readtab.o readtab.c:32:21: obstack.h: No such file or directory readtab.c:33:1: warning: C++ s

compiling for cygwin in generall; compiling anacron;

2002-11-24 Thread Uwe Mayer
Hi, I got two questions by my heart: First, if I successfully compiled a linux program for cygwin and it is running as expected, should I try to publish it so that it is available via the cygwin setup tool? I don't have much experience with this though (see 2nd question) but I'd like to help those

Re[2]: compiling clicq, problems with c++

2002-11-18 Thread Uwe Mayer
Hallo Gareth, Monday, November 18, 2002, 10:12:52 AM, you wrote: GP> if you look at the actual contents of those files - they include each other GP> the standard method of including socket.h is GP> #define ok, changed that. Thanks. GP> first point - a given line of output doesnt cause make to

compiling clicq, problems with c++

2002-11-18 Thread Uwe Mayer
Hi, I was trying to compile clicq, an icq client for linux, for cygwin. However I'm a little new to C++ although not to programming in general. Here is what I got problems with: 1. during make, gcc reported that the definition for AF_INET was missing. since I knew it was located in socket.h I loc

upgrading - apache fails

2002-10-31 Thread Uwe Mayer
Hi, I've been upgrading to cygwin 1.3.14-1. After the update the apache web server won't start up again. The /var/log/apache/error_log contains: [Thu Oct 31 22:24:51 2002] [notice] Apache/1.3.24 (Cygwin) configured -- resuming normal operations [Thu Oct 31 22:24:51 2002] [notice] Accept mutex: p

remotely executing windows applications

2002-10-10 Thread Uwe Mayer
I have sshd installed on my win2k box. Together with cygwin, of course. Recently I needed GUI access to my computer and after logging in via ssh I run "cygstart winvnc.exe". The application started, but did not show up in the system tray. However, it didn't accept connections - although it was sta

Re[2]: crontab: no changes made

2002-10-07 Thread Uwe Mayer
Hallo, I found the solution to the emacs problem discussed below: Monday, October 7, 2002, 3:44:41 AM, you wrote: IP> On Sat, 5 Oct 2002, Uwe Mayer wrote: >> When I start "crontab -e" it won't run, because I haven't vi >> installed. I remembered reading s

Re[2]: crontab: no changes made

2002-10-07 Thread Uwe Mayer
Hallo Igor, Monday, October 7, 2002, 3:44:41 AM, you wrote: IP> The correct name for the variable is VISUAL, although EDITOR also works. I found it again. "man 1 crontab" >> export EDITOR=emacs >> >> Then crontabs starts up emacs, editing a temporary file (i.e. >> /tmp/cron.1900) >> However, w

Re[2]: ssmtp and cron

2002-10-06 Thread Uwe Mayer
Hallo Elfyn, Sunday, October 6, 2002, 9:49:53 PM, you wrote: E> I forgot to mention this bit of important info... E> Unless you config file has the domain that you use for email (hadiko.de) in E> the rewriteDomain directive it will not work correctly. Also if you use E> other names other than t

ssmtp and cron

2002-10-06 Thread Uwe Mayer
get the destination e-mail and smtp host from this file - right? But calling "/usr/sbin/ssmtp merkosh" from the command line won't work. (after supplying a dummy body) Then to the /etc/ssmtp/ssmtp.conf file (which looks for me): root=admin mailhub=smtp.hadiko.de rewriteDomain="

crontab: no changes made

2002-10-05 Thread Uwe Mayer
Hi, When I start "crontab -e" it won't run, because I haven't vi installed. I remembered reading something about an EDITOR or VISIBLE environment variable, though I couldn't find it any more. Thus I set export EDITOR=emacs Then crontabs starts up emacs, editing a temporary file (i.e. /tmp/cron.

invalid user?

2002-10-05 Thread Uwe Mayer
Hallo, I installed sshd as 'cygrunsrv -I sshd -p /usr/sbin/sshd -a "-D -d"' - which worked. The server starts (cygrunsrv -S sshd) properly. Then I tried to connect: ssh localhost -l "Uwe Mayer" Where "Uwe Mayer" is my regular W2k login. The follo

Re[4]: file permissions for /cygdrive/c

2002-10-04 Thread Uwe Mayer
Hallo Vince, Friday, October 4, 2002, 12:48:58 PM, you wrote: VH> ahh i missread, sorry i shouldnt try and answer questions before my 3rd VH> coffee. VH> changing ownership to another administrator shouldnt make any difference, VH> but i would have though not giving everyone at least read access

Re: cygwin service

2002-10-04 Thread Uwe Mayer
Hallo Christoffer, Friday, October 4, 2002, 1:58:28 PM, you wrote: CW> I can see the sshd runs as 'service' even when I close the CW> shell window, thats nice. I wanted to do the same with apache, CW> I did: '/sbin/cygrunsrv -I apache -p /usr/sbin/apachectl -a start' CW> However, when I do: '/

Re[2]: file permissions for /cygdrive/c

2002-10-04 Thread Uwe Mayer
er:unused_by_nt/2000/xp:1000:544:Uwe Mayer,U-M111\Uwe Mayer,S-1-5-21-1801674531-1606980848-1708537768-1000:/home/Uwe Mayer:/bin/bash But changeing the primary group in /etc/passwd won't do anything under windows. The problem is that files created under windows have the group None... Windows

Re: Bypassing cygwin's signal handling

2002-10-04 Thread Uwe Mayer
Dear Sir, Due to the high frequency of spam e-mail received from *@*.ru this domain has been denied e-mail access to this account. Your message has been deleted from the server. Yours Uwe Mayer - This e-mail has been created automatically Date: Freitag, 4. Oktober 2002 Time: 11

file permissions for /cygdrive/c

2002-10-03 Thread Uwe Mayer
Hi, I've got some questions regarding file permissions with cygwin under w2k (ntsec turned on). I want to use 2k together with cygwin while allowing other people to login via ssh onto my computer and would like to get the obvious loopholes closed. As a member of the administrators group all file