Linux-Misc Digest #36, Volume #28 Tue, 5 Jun 01 12:13:01 EDT
Contents:
Re: Open ports seen with nmap - Security risk? (Mordak)
Re: interrup received, but no mail -- on adaptec aha1542 ("Tauno Voipio")
Re: System.map, boot.b, chain.b, etc etc.... (David Douthitt)
where is the startup shell script in RH71? (Teke Tu)
Re: crontab replace (del_bert)
Re: where is the startup shell script in RH71? ([EMAIL PROTECTED])
entering special characters in Linux (naim zeka)
Re: "NFS serverlockdsvc: Invalid argument" error (Mike Bosschaert)
Re: Debian install from CD? (Grant Edwards)
Re: "NFS serverlockdsvc: Invalid argument" error (Mike Bosschaert)
Re: Open ports seen with nmap - Security risk? (fernando)
Re: where is the startup shell script in RH71? (Robert Heller)
Re: How to make a simple incremental backup to a diff.OS over the net? (Kjetil
Torgrim Homme)
TUX (Joshua D. Drake)
Replicating Linux computers ("Uri Van Creveld")
Re: Replicating Linux computers (Christopher Albert)
Re: writing basic batch commands? (newbie alert) (Steve Smith)
Re: writing basic batch commands? (newbie alert) ("LRW")
----------------------------------------------------------------------------
From: Mordak <linux*NO-SPAM*[email protected]>
Subject: Re: Open ports seen with nmap - Security risk?
Date: Tue, 05 Jun 2001 14:16:19 GMT
Hey David,
Thanks for the info. Unfortunately, I don't have another non local linux box
with which to scan this one.
Mordak
David Efflandt wrote:
> On Mon, 04 Jun 2001 07:23:36 GMT, Mordak <linux*NO-SPAM*[email protected]>
> wrote:
> > I ran nmap on one of my machines that is running a SuSE personal firewall
> > with "reject all connections" at eth0 setup.
> >
> > Here's the outcome:
> > Port State Service
> > 22/tcp open ssh
> > 37/tcp open time
> > 515/tcp open printer
> > 6000/tcp open X11
> > 32768/tcp open unknown
> >
> > 1) How do I turn off the time at port 37? or should I worry.
> > 2) Why is the printer listening at port 515 and is this a security risk?
> > 3) What would be listining at port 32768 or how would I figure that out?
> > Thanks for any help,
> > Mordak
>
> If you ran nmap locally it may find open ports that are not really open to
> the outside. If you are trying to block everything on eth0, you should
> check it by running nmap from another box on eth0 pointing to this eth0
> IP.
>
> In other words if eth0 points to the internet, scan your box from the
> internet or do a web search for "port scan" and find a website that can do
> it. I am using the /etc/rc.config.d/firewall.rc.config instead of the
> personal firewall, and all such a scan found open was ssh and smtp, which
> is all that I allowed.
>
------------------------------
From: "Tauno Voipio" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.hardware,comp.os.linux.redhat,comp.os.linux.setup,comp.periphs.scsi
Subject: Re: interrup received, but no mail -- on adaptec aha1542
Date: Tue, 05 Jun 2001 14:19:14 GMT
"Darren and Marla Welson" <[EMAIL PROTECTED]> wrote in message
news:he_S6.20126$[EMAIL PROTECTED]...
> Red Hat 6.2, P133 MHz, 64MB RAM. Adaptec ISA AHA-1542CF host card...when
I
> insmod aha1542, I get:
> "interrup received, but no mail"
> I have changed BIOS to not allow >1G
> disabled supprt for >2 drives
> disabled autoscanning the bus
This could be caused by some other peripheral at the same interrupt, i.e. an
interrupt conflict. The interrupt in an ISA card is selected at hardware
setup. Usually, ISA interrupts do not suit being shared. AFAIK, neither the
AHA-1542CF driver nor the hardware can use shared interrupts.
Tauno Voipio
tauno voipio @ iki fi
------------------------------
From: David Douthitt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,alt.os.linux.slackware
Subject: Re: System.map, boot.b, chain.b, etc etc....
Date: Tue, 05 Jun 2001 09:23:11 -0500
Reply-To: [EMAIL PROTECTED]
Kwan Lowe wrote:
> The System.map
> is used mainly for kernel debugging, though some earlier versions of top or ps
> might need it.
> If you ever get a kernel OOPS, you can use the System.map file to help generate
> useful bug reports.
lsof uses it; so does klogd. lsof is highly recommended and should be
*INCLUDED* in every distributions base install....
------------------------------
From: Teke Tu <[EMAIL PROTECTED]>
Subject: where is the startup shell script in RH71?
Date: Tue, 05 Jun 2001 14:30:11 -0000
Hi, can anyone tell me where is the startup shell script is stored in RH7.1
, because I want linux automatically mount my FAT32 partitions at start up.
Thank you very much.....
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (del_bert)
Subject: Re: crontab replace
Date: Tue, 05 Jun 2001 14:32:41 GMT
On 5 Jun 2001 00:27:33 -0700, delta <[EMAIL PROTECTED]> wrote:
> Hallo,
> i'm looking for a comfortable replace for crontab.
> I have to admin many entrys there. Best would be a program for
> X-Window but much better then kcron or kcrontab.
>
> Thank you
You mean you want a gui frontend better than the other two examples?
Try webmin. Uses a web-browser to administrate other tasks as well as
crontabs.
--
Steve - ICQ 35454764
Powered by GNU/Linux
work like you don't need the money
love like you've never been hurt
dance like no one's watching
=======================================
9:53am up 15 days, 8:45, 14 users, load average: 0.00, 0.02, 0.08
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: where is the startup shell script in RH71?
Date: 5 Jun 2001 14:35:37 GMT
Teke Tu <[EMAIL PROTECTED]> wrote:
> Hi, can anyone tell me where is the startup shell script is stored in RH7.1
> , because I want linux automatically mount my FAT32 partitions at start up.
Edit /etc/fstab and add your fat32 partition to the list of partition
to mount automatically. No need to tinker with the startup script.
Davide
------------------------------
From: naim zeka <[EMAIL PROTECTED]>
Subject: entering special characters in Linux
Date: Tue, 05 Jun 2001 15:36:53 +0100
help:
how do i enter the special characters in linux...
i remember in windows system is ALT+ the code.
thanks in advance
--
------------------------------
From: [EMAIL PROTECTED] (Mike Bosschaert)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: "NFS serverlockdsvc: Invalid argument" error
Date: 5 Jun 2001 07:42:08 -0700
In Suse 7:
In file /sbin/init.d, as root,
REPLACE
case `uname -r` in
0.*|1.*|2.0.*) exit 0
esac
WITH
case `uname -r` in
0.*|1.*|2.0.*|2.4.*) exit 0
esac
if a kernel 2.4.* is started, the script abort. Now the script will be
aborted only for kernels previous to 2.0.*
Mike
> Hard to say without knowing what distro, you are running. In RedHat it
> is the "/etc/rc.d/init.d/nfslock" script, you need to look for.
> Specifically prepend the line containing rpc.lockd with a '#'.
>
> > > > How can I get rid of the "NFS serverlockdsvc: Invalid argument" error I
> get
> > >
> > > Don't start lockd in your startup scripts (just comment it out). It is
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Debian install from CD?
Date: Tue, 05 Jun 2001 14:42:54 GMT
In article <9fifil$upi$[EMAIL PROTECTED]>, Colin Watson wrote:
>>If I do the base installation that way, I can add packages from
>>servers on the 'net, right?
>
>If you're connected to the network directly, you can download
>the base system too. If you're relying on a modem, then yes,
>you can add packages from the net.
>
>>Maybe somebody can even point me to an ISO image for a base
>>system on a CD? I don't really have the bandwidth to download
>>the 3 CD set from linuxiso when all I want is a stripped-down
>>text-based system with gcc.
>
> http://cdimage.debian.org/ch11.html
Thanks. That's where I was yesterday, but I was confused about
which image files I needed. After reading through the
documentation some more, I decided that the only floppy image
file I need is the rescue image (since my BIOS is old enough it
doesn't support booting from CD). I'm going to put them all on
CD anyway...
>All you need to download is the base system, e.g. [2]. This is
>about 20-30Mb to download, and once you've got that you can
>fetch packages one by one. I can't help you with burning that
>onto a CD
That's no problem. With just a little bit if planning I would
have ordered a set of CDs a few weeks ago and I wouldn't
wouldn't have been up at midnight downloading stuff. :/
>- do you *have* to do that, or can you get them onto
>the hard disk of the system you're trying to install?
I don't _have_ to put them on CD -- I could put them on the
hard drive (the machine has 2-3 other linux systems on it) but
then it's hard to replicate the install process for regression
testing later. This is a "disposable" installation: it's only
going to be there for a few days (assuming things go well).
But, I want to be able to recreate it from scratch in the
future if I need to test some changes.
The easiest way to do that is to create a CD and bootfloppy and
file them away in a drawer. Some people I work with prefer to
create a backup image of the freshly installed system (usually
WinNT or Win2K) -- they file hard drives away in a drawer. But,
Linux installs are fast enough that just re-installing isn't
prohibitively time-consuming -- once you figure out what you
want to do. :)
>Sections 5.3.3 and 6.3 of the installation manual outline this.
>
>>A Debian install sure looks complicated (even compared to the
>>good old days installing Unix from tape). I'm starting to
>>think that doing a Debian install is more work than I can
>>justify.
>
>The manual sometimes makes it look more complicated than it
>really is, because there are lots of alternative ways of
>getting it done. It's not that bad.
It's looking a bit clearer. Oddly enough, the first time I
installed a Debian system it was on an old 68K Mac-IIsi. There
was only one way to do it, so it didn't appear to be as
confusing when reading through the documentation beforehand.
>Incidentally, when you say "current" Debian system, do you mean
>the most recent stable release (dating from last August) or
>current unstable?
The current "stable" release. Due to limited resources, our
policy is to test new releases on as many official, stable
distros as we can. There just isn't enough time to try to keep
up with development releases of either kernels or
distributions. That sometimes means that we lag behind a bit
and a new "official" release will be unsupported for a few
weeks while we work out compatibility issues, but it's the best
we can do.
>Once you've got a stable system installed you can upgrade to
>unstable over the net; while that should usually work fairly
>smoothly, it's not guaranteed.
>
>[1] http://ftp.debian.org/debian/dists/potato/contrib/source/admin/
> debian-cd_2.2.2.tar.gz
>
>[2] ftp://ftp.debian.org/debian/dists/stable/main/disks-i386/current/
I may give that a shot in my spare time.
Thanks for the pointers!
--
Grant Edwards grante Yow! I'm EMOTIONAL
at now because I have
visi.com MERCHANDISING CLOUT!!
------------------------------
From: [EMAIL PROTECTED] (Mike Bosschaert)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Subject: Re: "NFS serverlockdsvc: Invalid argument" error
Date: 5 Jun 2001 07:44:03 -0700
Correction on previous posting:
In Suse 7:
In file /sbin/init.d/nfsserver, as root,
REPLACE
case `uname -r` in
0.*|1.*|2.0.*) exit 0
esac
WITH
case `uname -r` in
0.*|1.*|2.0.*|2.4.*) exit 0
esac
if a kernel 2.4.* is started, the script abort. Now the script will be
aborted only for kernels previous to 2.0.*
Mike
> Hard to say without knowing what distro, you are running. In RedHat it
> is the "/etc/rc.d/init.d/nfslock" script, you need to look for.
> Specifically prepend the line containing rpc.lockd with a '#'.
>
> > > > How can I get rid of the "NFS serverlockdsvc: Invalid argument" error I
> get
> > >
> > > Don't start lockd in your startup scripts (just comment it out). It is
------------------------------
From: [EMAIL PROTECTED] (fernando)
Subject: Re: Open ports seen with nmap - Security risk?
Date: 5 Jun 2001 14:51:30 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 05 Jun 2001 14:16:19 GMT, Mordak <linux*NO-SPAM*[email protected]> wrote:
>Hey David,
>Thanks for the info. Unfortunately, I don't have another non local linux box
>with which to scan this one.
>Mordak
>
You can create another interface/ip-address using the same network
card. Do not ask me how.
--
======================================
These are my personal opinions
Real email: sanabriaf at yahoo dot com
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: where is the startup shell script in RH71?
Date: 5 Jun 2001 15:08:11 GMT
Teke Tu <[EMAIL PROTECTED]>,
In a message on Tue, 05 Jun 2001 14:30:11 -0000, wrote :
TT> Hi, can anyone tell me where is the startup shell script is stored in RH7.1
TT> , because I want linux automatically mount my FAT32 partitions at start up.
TT> Thank you very much.....
You don't need to mess with the startup scripts. You just need to edit
/etc/fstab and your FAT32 partitions will be mounted along with your
Ext2 file systems.
TT>
TT> --
TT> Posted via CNET Help.com
TT> http://www.help.com/
TT>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Kjetil Torgrim Homme <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.solaris,comp.sys.sun.admin
Subject: Re: How to make a simple incremental backup to a diff.OS over the net?
Date: 05 Jun 2001 17:16:14 +0200
[Stefano Ghirlanda]
> Kjetil Torgrim Homme <[EMAIL PROTECTED]> writes:
>
> > * GNU tar will change the atime on all the files you backup.
>
> Not if you use the --atime-preserve switch.
Well, then you'll update ctime instead, and this breaks incremental
backups. Star uses a Solaris specific fcntl (FIOSATIME) when
available to make a non-intrusive backup. Unfortunately, it has no
provision for incremental backups. Hacking either GNU tar or Star to
meet requirements should be feasible. I'd hack Star.
Kjetil T.
------------------------------
From: Joshua D. Drake <[EMAIL PROTECTED]>
Subject: TUX
Crossposted-To: comp.os.linux.advocacy
Reply-To: "remove .nospan to email" <>
Date: Tue, 05 Jun 2001 15:36:48 GMT
LinuxPorts.Com (poet's website) has opened a online store to help support
the Linux Documentation Project. They have used the artwork from their
online comic, TUX as supporting material. TUX can be found on the web at
http://www.linuxports.com/TUX .The artwork was used in the creation of
mugs, shirts and mousepads. To purchase please take a look at
http://www.cafepress.com/linuxports . So ask yourself... Who do you want to
fsck today?
Joshua Drake
------------------------------
From: "Uri Van Creveld" <[EMAIL PROTECTED]>
Subject: Replicating Linux computers
Date: Tue, 5 Jun 2001 18:41:41 +0200
Hi,
I have a simple problem:
I have 50 identical PC's on which I want to run Linux.
I don't want to run the installation on each one,
And I'm not so keen on using dd because it means opening them all up etc.
What is the best way to do it? Is ghost good for it? something else?
Help would be apreaciated.
Uri Van Creveld
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: Replicating Linux computers
Date: Tue, 05 Jun 2001 17:59:15 +0200
Uri Van Creveld wrote:
>
> Hi,
>
> I have a simple problem:
>
> I have 50 identical PC's on which I want to run Linux.
> I don't want to run the installation on each one,
> And I'm not so keen on using dd because it means opening them all up etc.
>
> What is the best way to do it? Is ghost good for it? something else?
>
> Help would be apreaciated.
>
> Uri Van Creveld
Uri,
THis is easy with RedHat using kickstart. FOr
other distributions I'm not so sure.
Chris
------------------------------
Date: Tue, 05 Jun 2001 10:06:17 -0500
From: Steve Smith <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,linux.redhat.misc
Subject: Re: writing basic batch commands? (newbie alert)
Get "Essential System Administration" by Frisch. Also useful is a book on your
favorite shell.
http://www.oreilly.com/
Steve Smith
LRW wrote:
> I've been trying to look around, but can't really find anything on it. I
> know I'm just not looking right. Man's, HOW-TO's, nothing comes really close
> in my guessing what topic it would be under. But basically I need some basic
> help in writing simple batched command scripts.
>
> For example, I want to make a script to create a user and make a password:
> #useradd -m <newuser>
> #passwd <newuser>
>
> With it prompting for the <newuser> name once to use in both lines.
> Playing around I made a file that has those lines, chmod'd it to be
> executable, and it works but of course, only with whatever name I put in the
> file in place of <newuser>. So I need to know how to get a file to prompt
> for a user,
> OR better yet, to take what's put in the command line at the same time.
> For example if I named the above file "ua", and I could type at the prompt:
> #ua fred
> It would complete the two commands using "fred" as the username.
>
> Anyway, if anyone knows the MAN or HOW-TO that would explain this, or a doc
> on the web, I would be REALLY appreciative!
> Thanks!
>
> Liam
------------------------------
From: "LRW" <[EMAIL PROTECTED]>
Subject: Re: writing basic batch commands? (newbie alert)
Date: Tue, 5 Jun 2001 11:06:05 -0500
Thanks! What you suggested worked perfectly! I hadn't thought to look for
information about the shell itself for how to write batches. Thanks for the
suggestion. That certainly does open up more doors for assistance out there
on the net!
Thanks,
Liam
"Michael Heiming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> LRW wrote:
> >
> > I've been trying to look around, but can't really find anything on it. I
> > know I'm just not looking right. Man's, HOW-TO's, nothing comes really
close
> > in my guessing what topic it would be under. But basically I need some
basic
> > help in writing simple batched command scripts.
> >
> > For example, I want to make a script to create a user and make a
password:
> > #useradd -m <newuser>
> > #passwd <newuser>
> >
> > With it prompting for the <newuser> name once to use in both lines.
> > Playing around I made a file that has those lines, chmod'd it to be
> > executable, and it works but of course, only with whatever name I put in
the
> > file in place of <newuser>. So I need to know how to get a file to
prompt
> > for a user,
> > OR better yet, to take what's put in the command line at the same time.
> > For example if I named the above file "ua", and I could type at the
prompt:
> > #ua fred
> > It would complete the two commands using "fred" as the username.
> >
> > Anyway, if anyone knows the MAN or HOW-TO that would explain this, or a
doc
> > on the web, I would be REALLY appreciative!
> > Thanks!
> >
> > Liam
>
> Try (untested):
>
> #!/bin/bash
> USER=${1}
> useradd -m $USER
> passwd $USER
>
> Run it
> ./scriptname username
>
> There is a Bash HowTo and some starting points, considering shell
> scripting.
>
> Search linuxdoc.org and google.com, I'm sure you'll find some docs
> or/and if you're serious, take a look at some good books...
>
> Good luck
>
> Michael Heiming
>
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************