Re: [expert] gcc not working properly

2000-03-02 Thread Yann Forget

Trevor Farrell a écrit :
> 
> My Mdk 7.0 install (I just hit the recommended button & let it do the
> rest) does not seem to have set up gcc correctly.  Can anyone tell me
> what I need to do to fix this?
> 
> [root@treble nicq-0.0.5]# ./configure
> creating cache ./config.cache
> checking for a BSD compatible install.../usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing

Those packages are not installed.
Yann

> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot
> create executables.
> [root@treble nicq-0.0.5]#

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



Re: [expert] Linux Mail Server Synchronisation

2000-03-01 Thread Yann Forget

James Lewis a écrit :
> 
> We're thinking of moving the majority of our customers' mail to linux, and
> a few issues have come up:
> 
> 1)  How secure is sendmail 8.6.9 ? What are the main things we need to do to
> secure our public facing linux mail server?

Secure ? Not at all.
The last version of Sendmail is 8.9.3
The 8.10 will come out soon.

Any way, drop Sendmail. Use Postfix.
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



[expert] SECURITY : serious bug in msec

2000-03-01 Thread Yann Forget

Hi,

In security level config, there is a potentially 
dangerous problem.

1) the output of the 'mktemp' command is not tested,
2) the system tries to copy the config file (i.e.
/etc/inittab, etc.) in the temporary file 
which already exists but does not force the copy.
The copy aborts and the temporary file is empty.
The original config file is delete.

Solution :
1) replace :

mktemp /tmp/secure.XX 

by 

mktemp /tmp/secure.XX || exit 1
 
2) replace :

cp /etc/inittab ${tmpfile}
cp ${file} ${tmpfile}
cp /etc/${file} ${tmpfile}
cp /etc/lilo.conf ${tmpfile}

by 

cp -f /etc/inittab ${tmpfile}
cp -f ${file} ${tmpfile}
cp -f /etc/${file} ${tmpfile}
cp -f /etc/lilo.conf ${tmpfile}

Regards,
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



Re: [expert] Network Question:

2000-03-01 Thread Yann Forget

lee binkley a écrit :
> 
> I have 2 computers .
> 
> 1: A mandrake 7.0 new install, 256 meg ram  Ethernet Card  ( System at
> Work)  (T-1 Line)
> 2: A  windows 2000 box at home  which also has 256 meg ram 600 Mhz
> (Modem Line For Kids)
> 
> Is it possible  that system 1 be connected to system 2 . So system 2
> can  benifuit from the work T1 Line.

HOWTO IP-Masquerade
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



Re: [expert] #Linux-Mandrake IRC Channel

2000-03-01 Thread Yann Forget

Nitin Raja Bhatia a écrit :

> Happy IRCing,
> Nitin Bhatia
> -==Where I want to go today is Linux.=--
> 
> --
> Nitin Raja Bhatia <[EMAIL PROTECTED]>
> #Linux-Mandrake on irc.openprojects.net

Why does it run Debian ???
cf. http://irc.openprojects.net/
;-)
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



Re: [expert] Network Question:

2000-03-01 Thread Yann Forget

Hi,

lee binkley a écrit :
> 
> Al Smith wrote:
> 
> > Yes it is possible if you use IP masquarding and such.
> >
> > -Al
> 
> I will nedd 2 nic .
> so in my /etc/rc.d/rc.local
> ipchains -P foward DENY
> ipchains -A foward -i eth1 -j MASQ
> echo 1 >/proc/sys/net/ipv4/ip_foward

Yes, but in that order :

 echo 1 >/proc/sys/net/ipv4/ip_foward
 ipchains -P foward DENY
 ipchains -A foward -i eth1 -j MASQ

Regards,
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25



Re: [expert] Auto Log On ... is it possible?

2000-03-01 Thread Yann Forget

"Sang Y. Yum" a écrit :
> 
> > | Question
> > | 
> > | Is it possible so that after boot, it logs on
> > itself as some user (not root!)
> > | then goes into X and KDE then starts the
> > application programs running without
> > | someone having to log it in with a username and
> > password.
> > |
> 
> If the application to be executed without user
> intervention is text-based, not X application, you
> could achieve something similar with crontab. Do "man
> crontab".

No. Crontab is to execute programs on a fix regular timing,
i.e. every day at 4 A.M., so you can sleep  ;-)

To execute some program on boot, do :
su - user -c 'program'
man su
Add this line in /etc/rc.d/rc.local
Yann

-- 
Ionix Services, les services réseaux d'aujourd'hui
http://www.ionix-services.com/
Tel 04 76 70 64 24
Fax 04 76 70 64 25