Linux-Misc Digest #6, Volume #24 Fri, 31 Mar 00 07:13:02 EST
Contents:
saving newgroup (Maurizio Palesi)
Re: TELNET ("Clive Gould")
Re: robots.txt from web server (Villy Kruse)
Re: How do I save files from Linux to windows? ("Clive Gould")
Re: NFS cannot mount "/" (Bill Unruh)
NO DIALTONE (Ben)
Re: About PPP connection & Sendmail (Bill Unruh)
Re: About PPP connection & Sendmail (Bill Unruh)
Re: Cannot get NFS to work on Mandrake 7 (Bill Unruh)
Small Linux distribution ("Dmitry Semenov")
Re: SuSE Linux password problem ("Martin Beier")
Re: NFS cannot mount "/" ("Martin Beier")
Booting Windows 2000 from mkdosfs partition ("Chris West")
RedHat gets "echo" wrong (Craig Macbride)
Re: Need a "process counter" ("Martin Beier")
WINTV ? ([EMAIL PROTECTED])
Netscape drucken: URL mit ausgeben moeglich? (Marian Heddesheimer)
A really quick one (kev)
Re: Game of Life - I love Vi (Iain A F Fleming)
Re: WINTV ? (Ian Mortimer)
Re: Large File Support (Marc SCHAEFER)
Re: SSH authentication ? (Sitaram Chamarty)
Re: compare big files with kind of checksum (peter pilsl)
----------------------------------------------------------------------------
From: Maurizio Palesi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: saving newgroup
Date: Fri, 31 Mar 2000 09:11:43 +0200
Hi all,
Is possible to save a newgroup and consult it off-line with netscape
4.7?
Bye,
Maurizio
------------------------------
From: "Clive Gould" <[EMAIL PROTECTED]>
Subject: Re: TELNET
Date: Fri, 31 Mar 2000 08:00:49 +0100
I haven't come across this problem with Redhat 6.x Linux. Providing the
username and password are valid in /etc/passwd you should have telnet
access. You are not normally allowed to telnet in as root for security
reasons. It's best to telnet in as a user and then su - root as necessary.
Can you use telnet on a client locally ?
Have you checked that telnet is enabled in /etc/inetd.conf ?
Clive Gould
[EMAIL PROTECTED]
wally <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am trying to telnet one of my clients , access is always denied.
> To use telnet, In what file do i setup username & passwords ?.
> I tried logging in as root and all the usernames on the client, it would
> not grant me access what do i do? How do i go about
>
> --
> Posted via CNET Help.com
> http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux.security
Subject: Re: robots.txt from web server
Date: 31 Mar 2000 07:17:34 GMT
On Thu, 30 Mar 2000 22:54:31 GMT,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.security k <[EMAIL PROTECTED]> wrote:
>> web search engines look for it, it tells them what to do with your site.
>> your webserver documentation should cover it ..
>
>User agents may look for it as well. (Better written ones, anyway :)
>Basically, robots.txt is a set of guidelines for non-human readers of
>your website, outlining how you'd like them to behave.
In other words, in robots.txt you can specify parts of your web site that
robots should not download. For example it would make no sense for a robot
to download web pages produced by cgi scripts or submit forms. There is more
information in the documentations that comes with the wget function.
Villy
------------------------------
From: "Clive Gould" <[EMAIL PROTECTED]>
Subject: Re: How do I save files from Linux to windows?
Date: Fri, 31 Mar 2000 08:06:50 +0100
Chris
Try using linuxconf. If you go to the section File Systems > Access Local
Drive you can click on the Add button and add a vfat partition.
Clive Gould
[EMAIL PROTECTED]
Chris Stump <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I was wondering how I can go about configuring my Red Hat 6.1 system to
> write to my windows partition. In other words, I want to be able to
> save files (like .jpg, .gif, .mp3) that I created and/or obtained while
> in Linux onto a FAT32 filesystem...so that both windows and Linux can
> have access to them. Any help with this matter is appreciated.
>
> Thanks!
>
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: NFS cannot mount "/"
Date: 31 Mar 2000 07:30:46 GMT
In <[EMAIL PROTECTED]> Jeremy <[EMAIL PROTECTED]> writes:
>Hi! This is probably a stupid overlook, but I cannot mount "/" from a
>NFS Client. I am running RedHat 6.1. I followed everything in the HOWTO,
>I believe. I can mount any other filesystem ( /mnt/cdrom, /mnt/zip,
>ect...) on my server, but not the root filesystem. everything in my
>exports file is the same :
???? Why in the world would you want to mount /? That is teh file system
which boots up your system and has all of your configuration stuff in
it. Your IP number will change, your hostname will change, etc. What are
you trying to do???
------------------------------
From: Ben <[EMAIL PROTECTED]>
Subject: NO DIALTONE
Date: Fri, 31 Mar 2000 07:30:04 GMT
hi
i am using Red Hat Linux 6.1
i got an error message when i try to connect to the internet using kppp
it is a NO DIALTONE message while the modem trying to dial a number.
in MS Windows i got this message too but there is a check box called "wait
for dial tone before dialing" which i can uncheck to dial up.
can i disable the "wait for dial tone" in linux?
how to do it?
thanks!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: About PPP connection & Sendmail
Date: 31 Mar 2000 07:33:06 GMT
In <[EMAIL PROTECTED]> =?iso-8859-1?Q?Beno=EEt?= Smith
<[EMAIL PROTECTED]> writes:
>I am running Slackware 7.0, and I would like to know how I could run the
>'ppp-go' command (launching a PPP connection) as a non-root user,
>WITHOUT using the 'su' command. I already tried to change all
>permissions in the "ppp" directory, to no avail.
cd /usr/sbin
chmod a+rx pppd chat
chmod u+s pppd
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: About PPP connection & Sendmail
Date: 31 Mar 2000 07:35:04 GMT
In <[EMAIL PROTECTED]> =?iso-8859-1?Q?Beno=EEt?= Smith
<[EMAIL PROTECTED]> writes:
>to check to configure the rights for PPP-connections. Am I condemned to
>the inhuman
>'su -c ppp-go' command line ? <sobs>
cd /usr/sbin
chmod a+rx pppd chat
chmod u+s pppd
chmod a+rw /dev/ttyS?
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking
Subject: Re: Cannot get NFS to work on Mandrake 7
Date: 31 Mar 2000 07:37:42 GMT
In <[EMAIL PROTECTED]> Jeremy <[EMAIL PROTECTED]> writes:
] I followed everything in the NFS-HOWTO but I still cannot get it
]working. I have two boxes, "hoffen" and "musha".
]My server is hoffen -
]hosts.allow =
]ALL: ALL
portmap:111.222.333.444
^^^^^^^^ explicit IP address of client
]exports:
]/ musha(rw, no_root_squash)
]/mnt/cdrom musha(ro, no_root_squash)
/etc/rc.d/init.d/nfs restart
------------------------------
From: "Dmitry Semenov" <[EMAIL PROTECTED]>
Subject: Small Linux distribution
Date: Fri, 31 Mar 2000 08:10:37 GMT
I need small linux distribution. It should based on kernel 2.2 and should
support frame buffer.
--
Best Regards, Dmitry Semenov
EMail: [EMAIL PROTECTED]
Web: www.chollian.net/~hatter
------------------------------
From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: SuSE Linux password problem
Date: Fri, 31 Mar 2000 11:15:48 +0200
> yep I thought it would work the same way as redhat works .It doesnt :-(
> But I did figured it out
> lilo : linux init=/bin/bash
> #mount -o remount /
> which remounts the / in rw mode .
mount -n -o remount,rw /
[EMAIL PROTECTED]
------------------------------
From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: NFS cannot mount "/"
Date: Fri, 31 Mar 2000 11:25:49 +0200
Jeremy <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> Hi! This is probably a stupid overlook, but I cannot mount "/" from a
> NFS Client. I am running RedHat 6.1. I followed everything in the HOWTO,
> I believe. I can mount any other filesystem ( /mnt/cdrom, /mnt/zip,
> ect...) on my server, but not the root filesystem. everything in my
> exports file is the same :
>
> / musha(rw,no_root_squash) laptop(rw,no_root_squash)
> /mnt/cdrom musha(ro,no_root_squash) laptop(ro,no_root_squash)
> /mnt/zip musha(rw,no_root_squash) laptop(rw,no_root_squash)
>
> Is there a setting I need for the root "/" filesystem?
A running UNIX system will surely not allow you to overwrite the root
filesystem since it is busy serving the currently running processes (i.e.
they
have open files in subdirectories of /). The purpose of NFS is to share
common filesystems not to replace the local system (e.g. configuration files
are valid only on a specific system). If you are looking for diskless
clients,
you should consider cluster solutions (I tried that on HP/UX: booting from
network really worked).
[EMAIL PROTECTED]
------------------------------
From: "Chris West" <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,alt.os.linux
Subject: Booting Windows 2000 from mkdosfs partition
Date: Fri, 31 Mar 2000 10:02:02 +0100
I have a problem when trying to boot Windows 2000 from a partition formatted
using mkdosfs.
I am writing a restore program that patches the boot sector with the
original Windows 2000 boot code.
I can boot using a FAT16 partition after formatting with mkdosfs, applying
the boot code patch, and then manually setting the drive number and hidden
sectors fields, however FAT32 is proving to be much more difficult.
I am still patching the drive number and hidden sectors fields (the drive
number is at a different offset for FAT32), but the boot code is hanging.
It makes no difference whether I delete ntldr, so the code isn't getting
that far.
Has anyone ever succesfully booted a Microsoft operating system that
understands FAT32 from a FAT32 partition formatted with mkdosfs?
------------------------------
Subject: RedHat gets "echo" wrong
From: [EMAIL PROTECTED] (Craig Macbride)
Date: Fri, 31 Mar 2000 09:30:48 GMT
The RedHat 6.1 man entry for echo claims that "Without -E, the following
sequences are recognized and interpolated:" and then gives the backslash
escapes that have been common in some Unixes for many years. However,
in reality, the echo command defaults to not understanding those escapes!
What's worse, the bash builtin doesn't recognise them either.
Does anyone know whether RedHat is likely to fix this error and whether
they'll change the man entry or the commands?
This situation is an utter pain for anyone attempting to port software
from other Unix platforms. The hard job of providing binary compatibility
with other x86 Unix variants has been done pretty well, yet the easy job
of providing compatible shells and simple commands has been screwed up
badly.
For those who don't wish to download the source and rebuild bash, is
there a version around which defaults to the desired (and documented)
action?
--
Craig Macbride <[EMAIL PROTECTED]>
=======================http://www.nyx.net/~cmacbrid========================
"It's a sense of humour like mine, Carla, that makes me proud
to be ashamed of myself." - Captain Kremmen
------------------------------
From: "Martin Beier" <[EMAIL PROTECTED]>
Subject: Re: Need a "process counter"
Date: Fri, 31 Mar 2000 11:45:18 +0200
> we've a high-load POP3 server, and the daemon runs from inetd. We'd like
to
> measure the use of the pop3 daemon.
>
> /etc/inetd.conf:
> pop-3 stream tcp nowait.900 root /usr/bin/popper popper
>
> I would like to create some kind of "counter" that is incremented every
time
> the inetd starts a new "popper" process. Like a GAUGE counter, so that I
> can create cool graphic using MRTG.
>
> I came up with these two approaches:
>
> 1) Implementing this in the popper daemon, messing with the sources.
> 2) or creating some kind of "process wrapper", that runs *before* the
popper
> process, increments the counter and *then* runs the popper daemon
>
Well, not the best but probably the most easiest/quickest way: add
*.debug /var/log/counter
to /etc/syslog.conf and restart the syslog deamon by
kill -1 `cat /var/run/syslog.pid`
Now you can filter the popper use by something like
grep "<HOSTNAME> popper [<pid>]: connect from " /var/log/counter | wc -l
Hope this helps!
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: WINTV ?
Date: Fri, 31 Mar 2000 10:11:38 GMT
Has anyone got Hauppage's wintv to work with Linux. (RedHat 6.1)
Wintv is about the only reason I use windows now, so if someone could
help me, I will never have to see the blue screen of death ever again -
yeh!
Duncan
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Marian Heddesheimer)
Subject: Netscape drucken: URL mit ausgeben moeglich?
Date: Fri, 31 Mar 2000 10:40:40 GMT
Hallo,
wei� jemand von Euch, ob man beim Ausdrucken mit Netscape unter Linux
auch die URL automatisch mit ausdrucken kann? Bei den Win* Versionen
kann man das beim Druckmen� einstellen, bei der Linux-Version nicht.
Gibt es vielleicht eine 'geheime' Einstellung in einer config-Datei?
Gru�
Marian
--
===================================================================
mailto:[EMAIL PROTECTED] programmer and book author
http://members.aol.com/heddesheim pages on effective working
===================================================================
------------------------------
From: kev <[EMAIL PROTECTED]>
Subject: A really quick one
Date: Fri, 31 Mar 2000 11:58:17 +0000
Hi,
I've done this loads before, but for the life of me I can't remember
fully the correct command now.
I want to kill telnet and ftp on my machine. I have edited the file
/etc/inetd.conf and commented out the telnet and ftp lines. It's the
next step I can't quite remember. I tried 'killall -HUP inetd' but that
didn't work. What am I missing?
thanks,
- Kev
------------------------------
From: Iain A F Fleming <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Game of Life - I love Vi
Date: Fri, 31 Mar 2000 12:04:19 +0100
Reply-To: [EMAIL PROTECTED]
BSD Bob wrote:
>
> I still use a ditty called Calvin (used to be FreeVi) for dos.
I use a pretty good Vi clone (elvis) on my Psion 3 organiser.
> It is 47K, runs any size file (AFIK),
It is, however, 75K.
------------------------------
From: Ian Mortimer <[EMAIL PROTECTED]>
Subject: Re: WINTV ?
Date: Fri, 31 Mar 2000 12:07:37 +0000
It works perfectly with xawtv - if you use windowmaker you can even get
a dockapp for it - wmtv
Rgds, Ian
[EMAIL PROTECTED] wrote:
>
> Has anyone got Hauppage's wintv to work with Linux. (RedHat 6.1)
>
> Wintv is about the only reason I use windows now, so if someone could
> help me, I will never have to see the blue screen of death ever again -
> yeh!
>
> Duncan
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Marc SCHAEFER <[EMAIL PROTECTED]>
Crossposted-To: nwu.comp.unix.linux,comp.os.linux.development.system
Subject: Re: Large File Support
Date: 31 Mar 2000 08:11:37 GMT
In comp.os.linux.development.system David E Allen <[EMAIL PROTECTED]> wrote:
: I am also interested in large file support. Actually, I don't need the support
: for ext2 itself, but for writing to a raw device (9Gb scsi disk). The open(2)
: and, more importantly, lseek(2) commands do not seem to support offsets
: larger than 31 bits (2Gb). Any ideas? Thanks.
llseek() exists, it allows to do very large seeks on raw devices. Now,
on the filesystem side, until 2.3.x you won't be able to do it, and you
also need a recent libc.
------------------------------
From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: SSH authentication ?
Date: Fri, 31 Mar 2000 11:38:43 GMT
On Wed, 29 Mar 2000 16:37:25 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Below is a summary of the steps that have been described in the man
>pages of the SSH1 protocol authentication. However I'm hoping someone
>can clerify them for me since it does not make any logical sense.
>
>Here is where my confusion is:
>a). In # 2 the MAN page said that the Server send it's Public key and
>the Clients Public key to the Client. However what is there to prevent
Not "Clients Public key". See below.
>a fake Server from sending that same Public key and the Clients Public
>key to the client ?
Nothing. But when the client generates a 256-bit random number
(to be used as a session key for further communications) it
encrypts with this public key.
Only the host that has the corresponding rivate key can decrypt
it. So the fake server is no good at this point.
>b). In # 4 the the client then generates a random 256 bit number which
>is encrypted using the Clients Public key and the Server Public key. If
>that is the case how is the Server supose to decrypt the random number
>since it would only know the Server Private key and not the Clients
>Private key ?
"man sshd" does not say what you are saying here. Here's the
relevant extract:
Sshd works as follows. Each host has a host-specific RSA key
(normally 1024 bits) used to iden- tify the host.
Additionally, when the daemon starts, it generates a server
RSA key (normally 768 bits). This key is normally regenerated
every hour if it has been used, and is never stored on disk.
Whenever a client connects the daemon, the daemon sends its
host and server public keys to the client. The client
compares the host key against its own database to verify that
it has not changed. The client then generates a 256 bit
random number. It encrypts this random number using both the
host key and the server key, and sends the encrypted number to
the server. Both sides then start to use this random number
as a session key which is used to encrypt all further
communications in the session.
So you see what get sent back as the first step is a host key
(fixed, well-known to all potential clients in advance, kept in
each client in the .ssh/known_hosts file), and a server key
(changes every hour).
The pieces of this which make for security are these:
(1) the client (you) does not blindly accept whatever PK was
sent as "host key". It compares it against it's internal
database (.ssh/known_hosts) which has presumably been
populatd via some reliable means at some point.
So a fake server sending you it's own PK, pretending to be
the real server, would be detected by the mismatch in the
PK you thought the host should have, and what it actually
sent.
(2) And of course, as I said before, if a fake server sends
the same PK as the real server's PK, the "known_hosts"
check woul match, but the fake server wouldn't be able to
decrypt the sessions key, which you (client) generated
randomly and encrypted with the host PK.
Hope this helps.
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: compare big files with kind of checksum
Date: Fri, 31 Mar 2000 11:37:13 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
>
> You might want to take a look at 'rsync' if versions of the files
> already exist on the destination system. It only sends the differences
> between the files.
>
and it even supports ssh !! wow ! this is really a good one !
thanks !
peter
--
pilsl@
goldfisch.at.at
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************