Debian Centralized Management

2000-11-29 Thread Pere Camps
Hi!

I looking for a package/program/whatever that it will allow me to
manage many Debian boxes remotely and centrally. Somewhere I could say:
install this package on all the systems with only one command. Or a
centralized view of dselect, etc...

Also, any good monitoring software recommendations?

Thanks!

ps: pleae reply directly to my inbox as I'm not subscribed to the list due
to its high volume.

-- p.



squid, snmp and mrtg

2000-10-18 Thread Pere Camps
Hi!

I've managed to get squid's snmp daemon running so far. However I
can not get mrtg to work with it. cfgmaker doesn't work and I don't know
enough of mrtg to start scripting stuff.

Can anybody that has got this working send me his /etc/mrtg.cfg
file?

FYI, I'm running only squid's snmp agent on port 161 and I can get
a snmpwalk output of .1.3.6.1.4.1.3495.1.1

Thanks!

-- p.



Linux: static NAT and proxy-mac

2000-08-29 Thread Pere Camps
Hello!

I'm quite experienced in using ipchains as a static packet
filtering device and Linux masquerading for our hide NAT (1:n) needs.

However, I am now in the need of doing full static (m:m) NAT and
I'm wondering if there's any way to get Linux to do it. I haven't
researched ipfilter || ipnat on *BSD as I'd like to stick with Linux
(Debian Linux to be more precise) as all our i386 Unixes are Debian Linux. 

Also, does anybody know if you can get Linux to reply to arp
requests on a different MAC address than it's own without any subnetting
involved. Something like the "proxy-only" option in ARP in the Nokias. I
can't find the option on arp(8). Maybe I have to install a user-space arp
daemon... 

Thanks for your help!

-- p.



Intel PRO/100 VM

2000-08-22 Thread Pere Camps
Hi!

Can anybody tell me what driver to use to get the "re" NIC
working? 

Thanks!

-- p.



default font size for X

2000-05-02 Thread Pere Camps
Hello,

I've just installed potato (upgrading from slink) on my brand new
labtop and I've found that at 800x600 all the fonts are too big. 

What file do I have to look for in order to change the default
font size?

It is not dependent on the window manager, as communicator is
always big, on twm, ice, anything... even after configuring the control
panel.

Thanks!

ps: please reply directly to my inbox as I'm not subscribed to the list
due to its high traffic. Thank you. 

-- p.

Pere Camps 
Schlumberger Omnes @ London

mailto: [EMAIL PROTECTED]
Tel:  +44 (0) 20 7517 4025
Main: +44 (0) 20 7517 4000
Fax:  +44 (0) 20 7517 4002



possible netstat bug

2000-02-02 Thread Pere Camps
Hi!

I'm running Debian Slink with the 2.0.38 kernel on a AMD K6 and I
found a weird problem.

When executing 'netstat -a', I get (from other usual stuff):

tcp0  0 *:smtp  *:* CLOSE

That should mean that the SMTP server (exim, via xinetd), should
accept any connections (weird enough already to be in this situation), but
if I 'telnet localhost 25' I get the usual SMTP banner and everything
works fine.

In fact, 'lsof | grep smtp' shows:

xinetd29746 root   22u  inet 0x04afe4140t0 TCP *:smtp
(LISTEN)

So it makes me thing there's a netstat bug. Has anybody found the
same thing?

ps: please answer directly via email as I'm not subscribe to the list due
to its high volume.

-- p.


limiting directories in a virtual host

2000-01-05 Thread Pere Camps
Hi!

I've got many  directives in my main apache config.

Now I've got some VirtualHosts and I want them to be able to
access what I want... that is, deny everthing and tell them what they can
acces on a per VirtualHost basis.

I fond out that I had to make a "deny from all" for every
 directive I had on my main config, as I haven't found a global
"forget what you had before, from now on you deny everything except
what I'll tell you on this virtual domain").

Has anybody solved this problem before? Thans for your help!

ps: please reply directly to [EMAIL PROTECTED] as I'm not subscribed to
the list due to its high volume. Thanks.

-- p.


virtual domains under exim

2000-01-04 Thread Pere Camps
Hi!

I'd like to setup a virtual domain with exim. So far I've managed
to make it able to accept emails for the virtual domain, but it now sends
the emails to the local users. I'll give an example:

The machine is named machine.org and has tons of local users that
receive email to [EMAIL PROTECTED]

So far I've managed to make exim accept emails for virtual.org.
Exim now sends these emails to [EMAIL PROTECTED] (without rewriting
headers, it just puts them in the /var/spool/mail/$USER).

I've done this with the local_domains seting.

Now I want to make exim send all the mail for virtual.org to
[EMAIL PROTECTED] A nice plus will be to have an independent
aliases file for this domain.

Is there an easy way to do this? Can anybody who has done it
before please send me his exim.conf file and any other appropiate files?

Thank you very much!

ps: Please reply to [EMAIL PROTECTED] directly, as I'm not subscribed to
the list due to its high volume. Thanks.

-- p.


Re: HP Laserjet 1100

1999-12-13 Thread Pere Camps
Cyrus,

> Yes, the HP1100 is very well supported by magicfilter. I use 
> the hp4l filter and it has so far handled everything I have
> thrown at it.

Ok. Thanks for the info.

-- p.


HP Laserjet 1100

1999-12-13 Thread Pere Camps
Hi!

I'm in the process of buying a new printer, and as I can not
afford a Postscript one, I was wondering if the HP Laserjet 1100 is well
supported by magicfilter.

Has anybody used it? Does it work allright? What printer do you
choose on the magicfilter config?

Thanks for your help!

ps: please reply by email as I'm not subscribed to the list due to its
high volume. Thank you.

-- p.


slink ssh linked against RSAREF2?

1999-12-10 Thread Pere Camps
Hi!

Is slink ssh linked against RSAREF2? I can't find any place where
it says something about it, either yes or no. 

Does anybody know for sure?

Thanks!

ps: please reply directly to me as I'm not subscribed to the list now as
it has too much traffic.

-- p.


web email packages

1999-11-13 Thread Pere Camps
Hi!

What's the best GNUd web mail program you people know? Where can I
find it? It would be ideal if there were a .deb for it, put I can also cc
it if necessary.

Thanks a lot for your help.

-- p.


full duplex sound

1999-11-10 Thread Pere Camps
Hi!

I'm trying to find out if the /dev/dsp interface for
playing/recording sound is full duplex if the Sound Card is.

Can anybody confim it and/or give me some references on where to
find the specifications of the /dev/{dsp,mixer,etc} devices?

TIA!

please email replies to [EMAIL PROTECTED] as this is for a friend of
mine.

-- p.


apache-ssl or mod_ssl

1999-11-07 Thread Pere Camps
Hi!

Can anybody give me some advice/hints/personal opinion about which
SSL http server to choose?

Thank you!

-- p.


Re: kernel series v2.2 and new deb packages

1999-10-31 Thread Pere Camps
Phil,

> You don't need to install any glibc2.1 packages to run kernel 2.2 - I'm
> doing it right now.  You just need to update some programs as per the
> kernel documentation (best by compiling from scratch, imo).

Yup, you're right. I didn't explain myself clearly enough.

I have installing programs from scratch, and I found out that many
of the program versions that are needed for v2.2 which are in the potato
distribution need libc6 2.1 in order to run.

I was just wondering if somebody had made a version of them that
runs with libc6 2.0. Something like netbase_3.12-2_i386, which is from
potato but is compiled to run ok on slink.

-- p.


kernel series v2.2 and new deb packages

1999-10-31 Thread Pere Camps
Hi!

Does anybody know where to get the deb packages needed to run
linux v2.2.x which don't need libc6 > 2.1?

I want to install 2.2.13 but I can't install libc6 > 2.1 with the
slink system as I'm worried that it will break too many things.

Thanks for your help.

-- p.


ipfwadm rule

1999-10-29 Thread Pere Camps
Hi!

Finally I got the question from my previous message working. I
had to deny only the packets with the SYN set.

-- p.


Re: ipfwadm rule

1999-10-29 Thread Pere Camps
Hi!

> set your default policies to DENY (instead of ACCEPT) and try again
> ..everything will be blocked except what you specifically state should be
> allowed in (dont try this from remote! you may lose access to the machine)

I've already tried that way, but it doesn't work out the way I
like it.

-- p.


ipfwadm rule

1999-10-29 Thread Pere Camps
Hi!

I'm trying to set up my home box (connected via PPP to the
internet to do the following):

a) Deny everything incoming (tcp,udp,icmp)
b) Accept only DNS udp connections
c) Accept incoming tcp data for only the connections that I have
initiated.

So far I've got this working:

a) no problem
b) I accept udp connections from the domain port to the 1024:65535
c) I accept tcp connections from any port that's below 1024

Problems:
c) They can still telnet me if doin'g it as root. The same for b).

Does anybody know the right ipfwadm rule for what I want and even
if this setup is possible?

TIA!

-- p.


mailman error

1999-10-28 Thread Pere Camps
Hi!

Whenever an email is sent through the mailman interface to the
news server I get to classes of errors:

Exception os.error: (2, 'No such file or directory') in  ignored

Exception NotLockedError in  ignored

Should I just ignore them or should I worry? Should I tweak
something or install a new package? It seems to me as the OS is not
locking the files as it should.

-- p.


Re: Running MySQL not as 'root'

1999-10-28 Thread Pere Camps
Joachim,

> What about the mysql-server.preinst script then?:

I'm running slink's mysql-server. Doesn't add new users. :-/

I can't wait for potato to freeze.

-- p.


Re: Running MySQL not as 'root'

1999-10-27 Thread Pere Camps
Uurcus,

>   safe_mysqld --user=nobody &
> Might be better if you use the pseudo-user `mysql':
>   safe_mysqld --user=mysql &

Doesn't work.

(root) ~ # safe_mysqld --user=mysql
Starting mysqld demon with databases from /var/lib/mysql
mysqld demon ended

> I believe the default Debian config already changes the ownership of MySQL's
> private dirs/files to be owned by the user `mysql'.

Debian doesn't even create the user 'mysql'. I think I can
remember Red Hat doing that. Of course I've created it for the testing
MySQL. 

Thanks for your help!

-- p.



Running MySQL not as 'root'

1999-10-27 Thread Pere Camps
Hi!

I've just installed MySQL and I'm trying to run the server not as
root for security reason (any bug in a MySQL running as root could
compomise the system securirity).

I'm brand new to MySQL so please don't blame me for obvious
work-arounds.

I've read the manual page and it says that you can run MySQL as an
ordinary user changing the ownership of the var files and starting the
server mysqld as the new user. However, it says that I don't have to touch
anything for 'safe_mysqld', and as Debian uses safe_mysqld for launching
MySQL, I don't know how to make mysql run as user 'nobody' with the less
of modifications to the standard distribution.

Can anybody help, please?

TIA

-- p.


xemacs20 and default font

1999-10-25 Thread Pere Camps
Hi!

I'm trying to set up a default font under xemacs20. I've changed
the default font to my tastes with the Options menu, but even after using
the same menu's "Save Options" option, my font doesn't come back after
relaunching xemacs.

I'm very new to xemacs (and emacs too) and I'd like to know what's
the name of the function that implements this so I can put it in my .emacs
file.

TIA!

ps: I've played with the .Xdefaults file/options to no avail.

-- p.


exim's .forward ulimit

1999-10-20 Thread Pere Camps
Hi!

Does anybody know how to limit the resorces available for the
program that runs when somebody uses the ability of the .forward file to
pass the contents of the email onto a program? 

TIA!

-- p.


Re: apache + cgi

1999-10-19 Thread Pere Camps
Aphro,

> i have found that ulimit works very well with apache.  i have my default
> ulimit set to a max of 12 processes per user, but with apache i gotta
> increase it to 40-50 before i start it or it may puke with cannot spawn
> child process on some cgis.

How do you ulimit apache? Editing /etc/init.d/apache and adding
ulimit commands at the top?

I just played with the RLimit directives and they work out pretty
well. Check them out!

-- p.


Re: Limiting cgi resource usage (was Re: apache + cgi)

1999-10-19 Thread Pere Camps
Joe,

> Use cgiwrap.  You can configure exactly how much cpu they get to use.
> I used it on a solaris machine that we were teaching a course on digital
> media on, and magically the load problems disappeared.

There's a deb package for it too. The problem is that it has a not
standard log file for debian... /usr/log/cgiwrap.log!

I'd guess I'll have to submit a bug report...

-- p.


cron'ed, at'ed, exim'ed user limits

1999-10-19 Thread Pere Camps
Hi!

How can I set user resource limits a la /etc/limits for the
programs executed by cron, at and exim's .forward?

This is to avoid possible DoS by massive resource grabbing by
untrusted users.

Thanks in advance for your help.

-- p.


Re: apache + cgi

1999-10-19 Thread Pere Camps
Brian,

> Perhaps you can set the ulimit manually (don't ask me how to do
> this from C...).

And make Apache use those values for every son with user www-data
that it breeds? ... too much work. :-/

> This is only read (AFAIK) by /bin/login. It doesn't even work for ssh
> logins (I could be out-of-date now, with the increased usage PAM -
> anyone know for certain?).

You're not out of date. Both ssh & ssh2 don't use /etc/limits.
Thanks for pointing that out.

It's a pity that slink doesn't implement PAM. I hope potato does
for all of this stuff..

> Another package you may want to look at is lshell. This will help fix
> the problem with sshd, but I am not sure if it will work for your
> situation.

I only have one shell available (bash) and only two user bases
(the good ones -ie, two people + me- and the rest of the world)... if [
$USER in /etc/profile is enough for me. Thanks for point the package out
anyway.

-- p.


Re: apache + cgi

1999-10-19 Thread Pere Camps
Nathan,

>  :Apache United Enterprise? ;)
> Advanced Programming in the UNIX Environment.

Don't have that one. Myself: K&R C 2nd edition, man pages and
looking at tons of .c files.

> I'm very interested in your problem since I see that to some degree I
> have the same problem :)

I guess the only true solution will come with ture PAM integration
and then limiting the resources of the www-data user.

-- p.


Re: apache + cgi

1999-10-19 Thread Pere Camps
Nathan,

> If you want to limit by actual clock time, you could use alarm and catch
> the signal (I know how to do it in Perl; I'd have to stumble a bit to do
> the same thing in C :)

The problem is that I have an 'untrusted' user base I everything
has to be implemented by the parent process or by the system itself. I
have no way of making the users behave themselves (in fact, they misbehave
for the fun of it) with good cgi programming.

For example, today an user executed the C program I posted before
and almost made the machine stop. Thanks God I was logged and I could kill
all the processes. I took the ExecCGI permission from the user and told
him a couple of things...

> For further ideas I'd have to grab my APUE by Stevens (an excellent
> book!)

Apache United Enterprise? ;)

-- p.


apache + cgi

1999-10-18 Thread Pere Camps
Hi!

Is there any way to limit the execution time/child processes of an
CGI executed by apache?

I want apache to be able to run the following...

void main(void)
{ 
while (1) {
fork()
}
}

And after too much time of CPU usage and/or child processes, kill
'em all. :)

Any help available?

ps: /etc/limits with user www-data doesn't work.

-- p.


UDP logger

1999-10-06 Thread Pere Camps
Hi!

Does anybody know of connection loger like 'iplogger', but also
for UDP?

TIA!

-- p.


RE: building a package

1999-09-07 Thread Pere Camps
Sean,

> a) debian/rules binary
> b) dpkg-buildpackage -us
> 
> That will make the deb for you.  Be prepared to install other debs to meet
> compile time depends.

Got it. Thanks for such a quick reply.

-- p.


building a package

1999-09-07 Thread Pere Camps
Hi!

I trying to learn to build packages from their source packages and
I've run into trouble.

I've just downloaded an source package from my mirror and now I'm
triying to make a compiled package. The package is ppp from the unstable
tree.

After downloaded I've executed:

$ dpkg-source -x ppp_2.3.9-1.dsc
$ dpkg --build ppp-2.3.9

And I get:

dpkg-deb: failed to open package info file 
`ppp-2.3.9/DEBIAN/control' for reading: No such file or directory

I've renamed ppp-2.3.9/bebian to ppp-2.3.9/DEBIAN but now I get:

dpkg-deb: parse error, in file `ppp-2.3.9/DEBIAN/control' near line 6:
 missing package name

I'm sure I could dig more info and start looking more deeply into
the references, but I must be missing something here if this doesn't work
now. Can somebody help me?

TIA!

-- p.


syslogd mail

1999-09-06 Thread Pere Camps
Hi!

How can I make syslogd mail somebody an incident (aka log) when it
happens?

TIA!

-- p.


2.2.* on slink

1999-09-06 Thread Pere Camps
Hi!

Can I run 2.2.12 on slink without problems or do I have to update
some packages from potato?

Thankx!

-- p.


strange xkb problem

1999-09-06 Thread Pere Camps
Hi!

While running X as root I get the following error:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:Cannot open "compiled/server-0.xkm" to write keyboard 
> description
>   Exiting
Couldn't load XKB keymap, falling back to pre-XKB keymap

And my keyboard doesn't work right.

The weird thing comes when I run X as another user and everything
works fine. :-?

Any ideas anyone?

-- p.


problems with htaccess

1999-07-12 Thread Pere Camps
Hi!

My apache seems to be ignoring the .htaccess file. Everythings
correct (the permissions, etc). I've even tried to copy the same .htaccess
to a different server and it worked there. Then I looked into the
configuration files of the other server and everything seems like mine.

Does anyone know of something that could affect apache's behavior
for htaccess? I'm loading the appropiate module and the .htaccess file is
well defined in srm.conf

Any help would be greatly appreciated.

-- p.


limiting connections for each IP

1999-07-12 Thread Pere Camps
Hi!

Is there anyway to place an upper limit in the number of
connections from a machine? Let me explain myself, I want to limit the
number of tcp connections from a machine to my server in order to limit
possible DoS attacks from a single IP.

How can I do that? 

TIA!

I'm using Debian 2.1 with xinetd and kernel 2.0.37.

-- p.


Re: xinetd & rpc.mountd/rpc.nfsd

1999-07-12 Thread Pere Camps
Robert,

> Well, I don't have a solution to offer, unfortunatly, though xinetd currently
> is my concern, too. I have looked at the FAQ page of http://synack.net/ (the
> maintainers of xinetd), and according to what they wrote, your problem seems
> to be generally unsolved. Too bad that I can't offer a more positive answer.

I looked the page before posting to this group... it's very
curious that xinetd can not handle well RPC services. :-(

> At least inetd and xinetd can coexist on one box. So you can use NFS via
> inetd and use everything else via xinetd. Sounds strange, doesn't it?

Yup. Now I've got rpc.mountd & rpc.nfsd running in 'daemon' mode.
At least I can 'delete' inetd.

Thanks for your help. If I ever find a way around the problem,
I'll post it here.

-- p.


xinetd & rpc.mountd/rpc.nfsd

1999-07-11 Thread Pere Camps
Hi!

Has anyone got working the re:? If so, would you please send me
your /etc/xinetd.conf. I've tried almost all combinations without any
luck. :-/

TIA!

-- p.


Re: email acknowledging/confirmation

1999-07-07 Thread Pere Camps
Jonathan,

> That is not a standard e-mail feature.  There are a VERY FEW Microsoft-ish
> e-mail clients that have a "Request return receipt" feature, but that ONLY
> works when the receiving mail client supports that feature as well, and
> has it enabled.

That's why I was asking. Too bad. :(

>  In other words, it'll happen maybe once in a blue moon.

I'll resort to the usual method: first line of the message -> I
want an ack!!! ;)

-- p.


email acknowledging/confirmation

1999-07-06 Thread Pere Camps
Hi!

Can somebody point me to the place where an standard for
automatically acknowledging/confirming email (that is, I want to know if
my email has been read by the receiver) is -it there exists one-?

I'll be also be very grateful if you point me to software that
supports it and its also supported by debian.

Thanks!

-- p.


Re: silly question about /dev/log (fwd)

1999-07-05 Thread Pere Camps
Hi!

Is debian prepared for having these special kind of permissions
for /dev/log?

-- p.

-- Forwarded message --
Date: Mon, 5 Jul 1999 13:58:56 +0100 (GMT)
From: Chris Evans <[EMAIL PROTECTED]>
To: Mike Johnson <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: silly question about /dev/log


On Mon, 5 Jul 1999, Mike Johnson wrote:

> While looking for world writeable files/directories on one of my Linux
> boxes, I came up with this (to me) surprise:
> srw-rw-rw-   1 root root0 Jul  4 04:02 /dev/log

Yes, I also hate this legacy UNIX design flaw.

A simple step in the right direction would be

srw-rw  1 root log  0 Jul  4 04:02 /dev/log

Then, we analyse what really _needs_ to write to the log, and give out the
relevant permission.

Note that most of the stuff that you _really_ want logged, is logged by
things running as root anyway, e.g. login failures, connection attempts,
kernel logs.

Essentially, the approach of changing /dev/log permissions as above, and
seeing what breaks, would be both interesting and useful.

Chris



ATX power on

1999-06-16 Thread Pere Camps
Hi!

Does anybody how to make an ATX motherboard boot without having to
press the 'power' button everytime? That is, I want an standard AT
behaviour: if there's power in the line, then I want the machine running
without having to press anything.

TIA!

-- p.


weird booting question

1999-06-16 Thread Pere Camps
Hi!

I've got a weird question for all the 'booting gurus' in the list.

My question: is it possible to make a hard disk that's mounted on
/dev/hdc to be bootable if it gets plugged into /dev/hda? If so, how?

TIA!

p.d.: the application? a ready-to-boot backup of the system.

-- p.


UPS suggestion

1999-06-13 Thread Pere Camps
Hi!

I need an UPS for my system (say 300 W plus 15" monitor) and I
would like to spend as little time seting it up as possible.

What UPS do you reccomend me in order to plug it, connect it to
the serial port (the UPS should bring the cable, I don't want to use the
soldering machine!), edit a /etc/* file and be ready to run in smart mode?

TIA!

-- p.



Re: loggin 'su'

1999-06-12 Thread Pere Camps
Steve,

>   By default all these attempts are logged to the /var/log/auth.log.  I
>   suppose that if you wanted to, you could edit the /etc/syslog.conf file
>   and change the log choice for auth,authpriv.* from /var/log/auth.log to
>   /var/log/syslog.

The problem was that slink's 'su' doesnt log anything. You have to
compile it by yourself. See the other postings in this thread.

cu!

-- p.


Re: loggin 'su'

1999-06-11 Thread Pere Camps
Wayne,

> If you can, it would be in the manual page, right.
> man syslog.conf.

I've already looked, but nothing's show. I don't mind if it's not
via syslogd.

cu!

-- p.


loggin 'su'

1999-06-11 Thread Pere Camps
Hi!

Is there any way to log with syslog all attepts (good & bad) to
user 'su' ?

TIA!

-- p.


login 'su'

1999-06-11 Thread Pere Camps
Hi!

Is there any way to log with syslog all attepts (good & bad) to
user 'su' ?

TIA!

-- p.


/tmp symlink problems in man

1999-06-06 Thread Pere Camps
Hi!

Is debian affected too? For the message it seems it is as slink
uses 2.3.10.

Any confirmation would be appreciated.

-- p.

-- Forwarded message --
Date: Sat, 5 Jun 1999 22:02:19 +0200
From: Marc Heuse <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: /tmp symlink problems in SuSE Linux 6.1

Hi,

we confirmed the link vulnerablity in the man package.
The culprit is zsoelim which creates the file without looking left and
right. :-(

All linux distributions using man 2.3.10 should be affected.

A fixed package from us will be available soon.

Greets,
Marc
--
   Marc Heuse, SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg
   [EMAIL PROTECTED]: [EMAIL PROTECTED]  Function: Security Support & Auditing
   "lynx -source http://www.suse.de/~marc/marc.pgp | pgp -fka"
Key fingerprint = B5 07 B6 4E 9C EF 27 EE  16 D9 70 D4 87 B5 63 6C


Re: redirecting ports from machine to machine

1999-05-25 Thread Pere Camps
Hi!

Please ignore the previous message. I've already found the way
with rinetd.

-- p.


redirecting ports from machine to machine

1999-05-25 Thread Pere Camps
Hi!

What do I use in order to transparentely forward all packets that
connect to machine a on port 1 to machine b on port 2? I have to make
believe the client that the server is really machine 1.

TIA!

-- p.


security problems in innd

1999-05-25 Thread Pere Camps
Hi!

I've just installed innd and besides the tipical allowing of
access for some hosts that I guess it must exists, are there any other
security considerations I should follow?

I've noticed that it runs as user 'news' which is an advantage.

TIA!

-- p.


Re: mounting nfs when server down

1999-05-24 Thread Pere Camps
Joey,

> hard   The program accessing a file on a NFS mounted file system will hang
>when the server crashes. The pro­ cess cannot be interrupted or
>killed unless you also specify intr.  When the NFS server is back
>online the program will continue undisturbed from where it was. This
>is probably what you want.

I've tried it, but I see two problems with it:

a. 'root' can not login as it looks for it's mail on
/var/spool/mail (also nfs-mail). I can put a .hushlogin and anyway root
never receives email (admin does it for him), but if root tries to ls
/var/spool/mail it hangs. Maybe I'm too much of a purist here.

b. Imagine bot the client and the server fall (power out, for
example). The client boots up faster than the server and when it tries to
mount the partition it can't. Idea for this: make a C program that looks
for well mounted directories and if they aren't good it mounts them. C
because the program will run 'suid' from /etc/profile (and mount is not
suid). Of course the C program will not accept any parameters nor
configuration (I don't know much of C program security, so better make it
simple).

What I'm looking for exactly is if it exists a standard solution
for problem b.

Thanks for your help!

-- p.



mounting nfs when server down

1999-05-24 Thread Pere Camps
Hi!

I now have a mini NIS-network with /home directories mounted from
a central server.

Imagine this sceneraio: the two systems boot up together. The
server is slower while booting up and the clients can't mount the
nfs-partitions, but 2 minutes after the server is up and running.

When my users try to log on the client machine, they can't because
their directories are not mounted. 

Is there a standard solution for this besides a cron'ed script
that looks for well-mounted directories?

TIA!

-- p.


majordomo

1999-05-16 Thread Pere Camps
Hi!

I'm trying to setup majordomo and I'm having difficulty with it.

Can somebody please send me his configuration for a working list?
Please send me /etc/aliases, /etc/majordomo.cf, and the contents of the
/var/lib/majordomo/lists/sample-list* files?

Thanks a lot in advance.

-- p.


netscape, navigator, communicator...

1999-05-16 Thread Pere Camps
Hi!

Can somebody explain me what's in each package and what are their
inter-relationships?

What's the bare minimum if I want to have just a 'lightweith'
netscape 4.5 browser?

TIA!

-- p.


limiting per user CPU time

1999-04-27 Thread Pere Camps
Hi!

Is there any way to do that? I've read ulimit(1), but that only
applies to bash(1) and it's sons (and it can also be changed). Another
option would be automatically nicing proceses that use more CPU time than
their quota.

TIA!

-- p.


VB asp on Apache

1999-04-27 Thread Pere Camps
Hi!

Can apache serve VB asp pages?

TIA!

-- p.


hard drive test

1999-04-20 Thread Pere Camps
Hi!

I need a hardware-intesive testing program for hard drives. One of
my drives has just blown, and I want to try to figure out what has
happened.

Does anyone know of any program that would do the job?

TIA!

-- p.


Re: cd-to-cd burning

1999-04-13 Thread Pere Camps
Hi!

> dd if=/dev/cdrom1 of=/dev/stdout bs=1048576|cdrecord dev= speed=?? -v
> -xa2 /dev/stdin

An straight:

cat /dev/cdrom1 | cdrecord ... -

Will work. :)

cu!

-- p.


system load

1999-04-12 Thread Pere Camps
Hi!

Can anybody explain me how the system load is measured?

For example, for this statistic, is it the same to have 3
processes wanting 100% of the CPU with a 0 priority than having 3 with,
let's say, 10, 15 and 20 priority?

If there's a FAQ or README please point me to it.

Thanks for your help!

-- p.


Re: alarms: disk full

1999-04-11 Thread Pere Camps
George,

> mon

Thanks for the input. I'll take a look at the program.

-- p.


alarms: disk full

1999-04-11 Thread Pere Camps
Hi!

Does anybody know of a prgram that monitorizes the use of hdd, and
when one of the gets full it sends an email to a designed address?

Is easy to do it in a shell script, but why do it if it's already
done?

Thanks a lot for your help!

-- p.


apache: browsing only what you want

1999-04-11 Thread Pere Camps
Hi!

I've found that if an user makes a soft link from his public_html
directory into /, then an external user can browse throughout all the
directory hierachy.

Can anybody tell me how to make apache server only the pages which
are directly under the public_html directories and /usr/lib/cgi-bin?

Thanks in advance! 

-- p.


cdrom problems

1999-04-04 Thread Pere Camps
Hi!

I'm getting these reports whenever I access my new cdrom (Samsung
32x max). I'm using kernel 2.0.37prelatest.

Everything works fine, I just get these annoying messages and the
access to the CD-ROM is slower.

Can anybody help?

Thanks!

-- p.


test - please ignore

1999-03-27 Thread Pere Camps
This is a test.
please ignore.


bash: /etc/profile, /etc/bashrc,

1999-03-25 Thread Pere Camps
Hi!

In /etc/bashrc, do I put anything else than the 'aliases'?

I've put all the rest in /etc/profile, but if I do a non-login
interactive shell, all the 'exports' don't load so all the rest.

What exactly goes where?

TIA!

-- p.


very stable AGP or PCI video card

1999-03-23 Thread Pere Camps
Hi!

I need a very stable and cheap AGP video card for my system. I
currently have a S3 Virge GX/2 AGP which curruntly crashes the whole
system every once in a while.

Any help will be greatly appreciated.

-- p.


remote X programs

1999-03-23 Thread Pere Camps
Hi!

What do I change in order to prohibit running X programs in any
place except the console? ie: no export DISPLAY=...

Thanks in advance for your help,

-- p.


Re: mailing list software

1999-03-17 Thread Pere Camps
Padraic,

> I like GNU mailman (http://www.list.org/). All commands through web
> interface and subscriber commands also through email.

Any .deb for it?

-- p.


mailing list software

1999-03-17 Thread Pere Camps
Hi!

berolist, majordomo or smartlist?

This will be a very low traffic mailing list server, so I prefer
it to be easy to install/manage/use than to be lightweight.

Any hints would be greatly appreciated!

-- p.


Re: xfs and fonts

1999-03-17 Thread Pere Camps
Branden,

> Needless to say, you can have the X server use local fonts AND a font
> server.
> xfs is in no way required to have a functional X installation.

Thats what I needed. Thanks for the input. :)

-- p.


re: exim and smarthost

1999-03-16 Thread Pere Camps
Hi!

(this is a reply to message I accidentally deleted, please try to
find the original in order to understand it).

I consider an email is "difficult" to send when it has been more
than 4 hours in my mailq or when it's something like uucp. All of these
mails I'd like to send to the smarthost.

Can exim be tricked for these settings?

Thanks for your help,

-- p.


xfs and fonts

1999-03-16 Thread Pere Camps
Hi!

Does xfs need to be running in order to have the fonts installed
in /usr/X11R6/lib/X11/fonts/* in your system or with the references in
/etc/X11/XF86Config is enough?

I suppose is the later.

TIA!

-- p.


Re: exim: smarthost

1999-03-15 Thread Pere Camps
Grep,

> Run eximconfig and select the proper option is the easiest way.

I've seen the option, but I dont want to send _all_ outbound mail
via the smarthost, only the 'difficult' ones.

-- p.


exim user

1999-03-15 Thread Pere Camps
Hi!

Exim runs himself in inetd.conf as user 'exim'. This user doesn't
exist in my /etc/passwd, so I've changed it to user 'mail'. 

Am I doing the right thing?

TIA!

-- p.


exim: smarthost

1999-03-14 Thread Pere Camps
Hi!

Any easy way of configuring exim so it sends all the mail it has
not being able to send for himself to a smarthost? Something like smail
offered before...

-- p.


cdrecorder

1999-03-12 Thread Pere Camps
Hi!

I want to buy a CD-R drive, and I'm between these two:

Panasonic CW-7502-B 4X Recorder / 8X Reader
TEAC CD-R55S 4X Recorder / 12X Reader   
TEAC CD-R56S 4X Recorder / 24X Reader

What's best supported? Does anybody around have anything to say in
favour/against any of these two drives?

TIA!

-- p.


S3 Virge/GX2 + AGP

1999-03-11 Thread Pere Camps
Hi!

Is this supported by hamm? If so, do I have to install anything
special?

I've tried choosing the video card directly from the list of
xf86config, but it doesn't work.

Thanks for your help!

-- p.


I need a kernel guru

1999-03-11 Thread Pere Camps
Hi!

Does anybody know where do I have to write / what mailing list can
I join in order to find somebody who understands of Linux's "General
Protection Faults" and "Ooops!" messages.

I need to know what's going on with my system (and its not signal
11...)

TIA!

-- p.


killing all processes on a tty

1999-03-10 Thread Pere Camps
Hi!

What can I use in order to kill all the processes on a tty using
only one command?

Something like: killall /dev/ttyS1 ?

Thanks!

-- p.


accepting talk from only some users

1999-03-05 Thread Pere Camps
Hi!

I'd like to accept only talk from a list of users I specify...
something like: if you're not on the list the "your party is refusing
messages" pop-up shows up, and if you're on the list the as usual.

Does anybody know how to make this?

TIA!

-- p.



smail and time

1999-03-03 Thread Pere Camps
Hi!

Does anyone know how to make smail put your local time in the
emails and not the GMT time plus your time. For example, to put 22:00 CET
and not 23:00 GMT-1.

Thanks in advance for your help!

-- p.


upgrading to slink from hamm

1999-02-28 Thread Pere Camps
Hi!

What update procedure should I use in order to upgrade to slink
from hamm? Just point dftp to the new ftp directory and upgrade?

What are the main differences between the two releases (ie: smail
vs exim), that I need to look up to make sure they work after upgrading?

I'm running a server for 400 people here and if something goes
wrong, I'll get beheaded... ;)

TIA!

-- p.


"VFS: iput: trying to free free inode" and so on...

1999-02-27 Thread Pere Camps
Hi!

Can anybody explain me what's going on here? The system hals after
spitting for some time these messages... It has already happened thrice.

My Computer data: AMB K6-200, 96 MB RAM, Linux 2.0.36, Debian hamm

Any clue would be greatly appreciated. Thank you very much.

Feb 27 05:27:20 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:27:20 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:31:19 casal kernel: kfree of non-kmalloced memory: 01e25898, next= 
02757000, order=1
Feb 27 05:31:35 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:31:35 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:32:07 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:32:07 casal kernel: VFS: device 00:00, inode 242175, mode=00100600
Feb 27 05:33:18 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:33:18 casal kernel: VFS: device 00:00, inode 242175, mode=00100600
Feb 27 05:35:51 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:35:51 casal kernel: VFS: device 00:00, inode 156472, mode=00100600
Feb 27 05:36:55 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:36:55 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:37:07 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:37:07 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:37:08 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:37:08 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:37:20 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:37:20 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:37:26 casal kernel: kfree of non-kmalloced memory: 03811018, next= 
042b3000, order=1
Feb 27 05:37:27 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:37:27 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:38:26 casal kernel: kfree of non-kmalloced memory: 03811d18, next= 
042b3000, order=1
Feb 27 05:39:56 casal kernel: invalid operand: 
Feb 27 05:39:56 casal kernel: CPU:0
Feb 27 05:39:56 casal kernel: EIP:0010:[ext2_find_entry+562/716]
Feb 27 05:39:56 casal kernel: EFLAGS: 00010282
Feb 27 05:39:56 casal kernel: eax:    ebx: 000a   ecx: 001ea118   
edx: 000a
Feb 27 05:39:56 casal kernel: esi: 03f42998   edi: 000a   ebp: 0c00   
esp: 05df7e94
Feb 27 05:39:56 casal kernel: ds: 0018   es: 0018   fs: 002b   gs: 002b ss: 0018
Feb 27 05:39:56 casal kernel: Process grep (pid: 17612, process nr: 47, 
stackpage=05df7000)
Feb 27 05:39:56 casal kernel: Stack: 01b52900 05df7f74 0068 049f1000 
0011b164 0002  0445e400
Feb 27 05:39:56 casal kernel: 001ea118 ffe4  
01b52900 051bfe98 01b52900 051bfe98
Feb 27 05:39:56 casal kernel:0068 00098021 01610306 02959098 
01078998 03f42998 030a0c98 030a0498
Feb 27 05:39:56 casal kernel: Call Trace: [do_no_page+444/808] 
[ext2_lookup+256/368] [lookup+222/248] [_namei+90/228] [namei+48/72] 
[sys_newstat+41/88] [system_call+85/124]
Feb 27 05:39:56 casal kernel: Code: d3 e7 8b 44 24 70 39 78 14 7f 07 31 f6 eb 
1e 8d 76 00 8d 4c
Feb 27 05:40:01 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:40:01 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:40:04 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:40:04 casal kernel: VFS: device 00:00, inode 156472, mode=00100600
Feb 27 05:40:05 casal kernel: iput: inode 4163 on device 03:01 still has 
mappings.
Feb 27 05:40:05 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:40:05 casal kernel: VFS: device 00:00, inode 156377, mode=00100600
Feb 27 05:40:05 casal kernel: VFS: iput: trying to free free inode
Feb 27 05:40:05 casal kernel: VFS: device 00:00, inode 156472, mode=00100600

My /etc/fstab

# /etc/fstab: static file system information.
#
#
/dev/hda1   /  ext2defaults 0   1
/dev/hda5   none   swapsw   0   0
proc/proc  procdefaults 0   0
/dev/hdc1   /home  ext2defaults,usrquota,nosuid 0   2
/dev/hda6   /tmp   ext2defaults,nosuid  0   3
/dev/cdrom  /mnt/cdrom iso9660 noauto,ro,noexec,nosuid,unhide 0 0
/dev/fd0/mnt/floppyext2noauto   0   0
/dev/hda7   /mnt/xtd   ext2defaults,usrquota,nosuid 0   4

TIA again!

-- p.


lynx + cookies

1999-02-22 Thread Pere Camps
Hi!

What do I touch in order to have lynx accept all cookies always?

I've looked at the /etc/lynx.cfg file, and the cookies options
looks like it makes lynx 'ignore' cookies.

TIA!

-- p.


Re: chmod script

1999-02-01 Thread Pere Camps
Ben,

> chmod -R og-rwx /path

But if my files are 400...

Thanks for your help anyway!

-- p.


chmod script

1999-02-01 Thread Pere Camps
Hi!

Does anybody have a script for changing all the dirs and subdirs
into mode 700 and all the files into mode 600 ?

If I do a chmod 700 -R then all the files get changed to 700...
:-/

TIA!

-- p.


vfat32 support

1999-01-28 Thread Pere Camps
Hi!

Does anybody know if there's a patch for being able to access
vfat32 formated partitions?

Thanks!

-- p.


Re: password security: john, cops, etc

1999-01-26 Thread Pere Camps
Jean,

> There's cracklib which is a proactive checker in that it checks
> passwords as the users set them.
> Currently there are several bugs for the package but I'm actively
> working on them.  Should see a new upload in a few days.

Please tell me when you do.

Thank you very much.

-- p.


password security: john, cops, etc

1999-01-26 Thread Pere Camps
Hi!

Is there any debianized program to check the 'strictness' of
passwords. Something like john, cops, etc.

I'm also looking for a passwd replacement that enforces 'strict'
passwords.

TIA!

-- p.


fileutils + w95

1999-01-24 Thread Pere Camps
Hi!

I know this is not the appropiate forum but...

I'm trying to find a compiled version of fileutils that runs under
a DOS box in W95.

I currently have an old version of the fileutils that doesn't
support long filenames.

Can somebody point me to the right URL?

Thankx!

ps: anybody knows is the DOS fileutils also include the todos & fromdos
programs?

TIA v2.0!

-- p.


Re: umask: file & dirs

1999-01-23 Thread Pere Camps
Remco,

> > Is there any way to have a umask that creates files in 640 by
> > default and directories in 750 ?
> umask 027

Thanks. I think I got the umask thing the wrong way around.

I think I've got something the other way around with permissions
and umask.

Lets see: for files 4 is read, 2 is write and 1 is execute. For
directories: 4 is 'ls' cabailities, 2 is add/delete files and 1 is the 'go
through' and be able to read the files is they have the proper attributes.

If I have an umask of 027 then I should get the following result
independent of it's a file or dir: 750 -> rwxr-x--- 

And now I'm geting 640 for files.

What am I missing here?

I guess that an you have to subtract 1 when dealing with files...

TIA!

-- p.


umask: file & dirs

1999-01-23 Thread Pere Camps
Hi!

Is there any way to have a umask that creates files in 640 by
default and directories in 750 ?

TIA!

-- p.


Re: vfat -> cp: file: Operation not permitted

1999-01-23 Thread Pere Camps
Hamish,

> > > (I would prefer VFAT to silently ignore that)
> > Me too. 
> Yes, "quiet" in the options line does this IIRC.

Great! Problem (almost solved)!

> "zip" for example encounters the same problem when creating a zip on
> FAT/VFAT, and removes the created zip file! Most annoying.

Is there anyone who we can "complain" about this. Don't know, some
option that fakes chmod/chown while in FAT...

Let me check who's the FAT maintainer...

I've got these:

N: Gordon Chaffee
E: [EMAIL PROTECTED]
D: vfat, fat32, joliet, native language support

N: Henrik Storner
E: [EMAIL PROTECTED]
D: vfat/msdos integration, kerneld docs, Linux promotion

Do you think it's proper to email any of these two guys?

-- p.


Re: vfat -> cp: file: Operation not permitted

1999-01-22 Thread Pere Camps
Tino,

> No, there is probably not. It comes from the fact that cp tries to set
> some permissions on the destination file. That is actually not possible
> for VFAT. 

That's a sensible explanation. 

> (I would prefer VFAT to silently ignore that)

Me too. 

Thanks for your help!

-- p.


  1   2   3   >